write_file_append

Function write_file_append 

Source
pub fn write_file_append(path: &str, contents: &str) -> bool
Expand description

Appends data to a file and returns a bool on success

ยงUsage:

fsutils::write_file_append("text.txt", "Hello, world! ");
fsutils::write_file_append("text.txt", "Hi Again!");

assert_eq!(fsutils::read_file("text.txt"), "Hello, world! Hi Again!");