Expand description
Helper functions and types for paths.
Functionsยง
- common_
ancestor - Returns the lexical common ancestor of two paths if there is any. This means it will not canonicalize paths.
- is_
ancestor_ of - Returns whether
baseis an ancestor ofpathlexically. This means it will not canonicalize paths and may not always be correct (e.g. in the presence of symlinks or filesystem mounts).