Crate ragit_fs

Crate ragit_fs 

Source

Structs§

FileError

Enums§

FileErrorKind
WriteMode

Functions§

basename
a/b/c.d -> c.d
copy_dir
copy_file
It returns the total number of bytes copied.
create_dir
create_dir_all
current_dir
exists
extension
a/b/c.d -> d
file_name
a/b/c.d -> c
file_size
into_abs_path
is_dir
It returns false if path doesn’t exist
is_symlink
It returns false if path doesn’t exist
join
a/b/, c.d -> a/b/c.d
join2
alias for join
join3
join4
join5
last_modified
normalize
parent
a/b/c.d -> a/b/
read_bytes
read_bytes_offset
It never reads more than to - from bytes. If it fails to read from from, that’s an error. If it fails to read to to, that’s not an error.
read_dir
read_string
remove_dir
remove_dir_all
remove_file
rename
set_current_dir
set_extension
a/b/c.d, e -> a/b/c.e
temp_dir
try_create_dir
It’s like create_dir but does not raise an error if path already exists
write_bytes
write_string