10 releases (5 stable)

2.1.0 Sep 4, 2021
2.0.0 Jul 23, 2021
1.1.0 Feb 13, 2021
1.0.1 Jan 18, 2021
0.1.2 Jan 13, 2021

#25 in #delete-file

Download history 6/week @ 2024-09-18 8/week @ 2024-09-25 2/week @ 2024-10-02

58 downloads per month
Used in 2 crates

MIT license

5KB
75 lines

This is a cargo for easy opening of files.

To get the file into a string: read_file(&str) Returns string

To get files line by line read_file_lines(&str) Retruns vector string

To write to a file do : write_file(&str,&str) (file name, file content)

To delete file remove_file(&str) to remove the file using the name of the file

To save byte arrays do: write_file_bytes(&str,Vec u8)

read_file_bytes (&str: filename)

No runtime deps