creates a new file using an array of u8 as content and a string as the file path it overwrites the file, if it exists, or creates a new one if it does not exist if the director(y/ies) in the path d(oes/o) not exist, or an error happens during the writing operation an error will be returned in case of success a unit type will be the outcome
it overwrites the file, if it exists, or creates a new one if it does not exist
if the director(y/ies) in the path d(oes/o) not exist, or an error happens during the writing operation an error will be returned
in case of success a unit type will be the outcome