Crate easy_file

Source

Modules§

macros

Macros§

append_to_file
append data to file
copy_to_path
copy file from a path to another path
create_dir
Creates a new, empty directory at the provided path
create_dir_all
Recursively create a directory and all of its parent components if they are missing.
create_write_file
create and write to file
list_dir
list directory return Vec
move_to_path
move file from a path to another path
read_file
read file return Result<Vec<u8>, Box<dyn std::error::Error>>
read_to_string
list directory return Vec
remove
can be used to remove file or folder
rename
rename file