pub struct PathAliases { /* private fields */ }Expand description
Directories whose aliases a caller has already resolved.
One compilation normalizes hundreds of input paths that share a handful of
parent directories, and realpath walks every component of every one of
them. Resolving a parent once and then only the last component of each
path costs one lstat per path instead of one per component. The memo
belongs to the caller and lives as long as the caller wants it to: one
action’s worth of paths, in practice, which is no longer than a link is
assumed to hold between two realpath calls today.
Trait Implementations§
Source§impl Debug for PathAliases
impl Debug for PathAliases
Auto Trait Implementations§
impl !Freeze for PathAliases
impl !RefUnwindSafe for PathAliases
impl !Send for PathAliases
impl !Sync for PathAliases
impl Unpin for PathAliases
impl UnsafeUnpin for PathAliases
impl UnwindSafe for PathAliases
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more