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

#23 in #delete-file

Download history 8/week @ 2024-02-21 17/week @ 2024-02-28 20/week @ 2024-03-27 40/week @ 2024-04-03

60 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