#read-file #file #read #file-io #io #io-read #env-var

bt_file_utils

Basic file read operation. Returns string with file. The file is either a relative location or passes via an environment variable

1 unstable release

0.1.0 Jan 31, 2025

#1683 in Filesystem

Download history 107/week @ 2025-01-28 29/week @ 2025-02-04 8/week @ 2025-02-11

144 downloads per month
Used in bt_yaml_utils

GPL-3.0-only

5KB

Project Title

BT FILE UTILS

Description

A simple implementation to read a file from relative location or environment variable and return a String.

Usage

let file_content = get_file(env_variable, or_file_name);  

Version History

  • 0.1.0
    • Initial Release

License

GPL-3.0-only

Dependencies

~1MB
~18K SLoC