Structs§
- Blocking
Async Reader AsyncRead`` implementation backed by a
Read. It is not actually async; the goal is simply to avoid reading the full contents from the
Read` into memory.- Path
Error
Traits§
Functions§
- check_
symlink_ support - Symlinks are always available on UNIX
- copy_
async_ to_ sync - Reads from an async source and writes to a sync destination. Does not spawn a task, so writes will block.
- create_
or_ reuse_ dir - Creates a directory or does nothing if the directory already exists.
- expand_
home_ path - Expands “~/” to “$HOME/”.
- normalize_
path - Consumes as much
..
and.
as possible without considering symlinks. - persist_
content_ addressed_ temp_ file - Like
NamedTempFile::persist()
, but doesn’t try to overwrite the existing target on Windows. - relative_
path - Turns the given
to
path into relative path starting from thefrom
path. - remove_
dir_ contents - Removes all files in the directory, but not the directory itself.
- try_
symlink