content! : { absolute_path : Str } => Try(Str, [FileReadErr(Str)])
content_bytes! : { absolute_path : Str } => Try(List(U8), [FileReadErr(Str)])
create! : { absolute_path : Str, content : Str } => Try({}, [FileCreateErr(Str)])
creates the file and all the directories leading to it if they do not exist.
create_bytes! : { absolute_path : Str, byte_content : List(U8) } => Try({}, [FileCreateErr(Str)])
creates the file and all the directories leading to it if they do not exist.
tmp_name! : { name : Str, extension : Str } => Try(Str, [FileTmpNameErr(Str)])
create_tmp! : { name : Str, extension : Str, content : Str } => Try(Str, [TmpFileCreateErr(Str)])
create_bytes_tmp! : { name : Str, extension : Str, bytes_content : List(U8) } => Try(Str, [TmpFileCreateErr(Str)])
delete! : { absolute_path : Str } => Try({}, [FileDeleteErr(Str)])