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
diff
exists
extension
a/b/c.d -> d
file_name
a/b/c.d -> c
file_size
get_relative_path
It calcs diff and normalizes.
initialize_log_file
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
join3
join4
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_extension
a/b/c.d, e -> a/b/c.e
set_log_file_path
try_create_dir
It’s like create_dir but does not raise an error if path already exists
write_bytes
write_log
write_string