[−][src]Module cargo::util::paths
Structs
PathAncestors |
Functions
ancestors | |
append | |
bytes2path | |
copy | Copies a file from one location to another. |
create | Creates a new file. |
create_dir_all | |
create_dir_all_excluded_from_backups_atomic | Creates an excluded from cache directory atomically with its parents as needed. |
dylib_path | |
dylib_path_envvar | |
join_paths | |
link_or_copy | Hardlink (file) or symlink (dir) src to dst if possible, otherwise copy it. |
mtime | |
normalize_path | |
open | Opens an existing file. |
path2bytes | |
read | |
read_bytes | |
remove_dir | |
remove_dir_all | |
remove_file | |
resolve_executable | |
set_file_time_no_err | Changes the filesystem mtime (and atime if possible) for the given file. |
set_invocation_time | Record the current time on the filesystem (using the filesystem's clock) using a file at the given directory. Returns the current time. |
strip_prefix_canonical | Strips |
write | |
write_if_changed |