paths
Utilities for classifying DASCore path inputs.
Functions
| Name | Description |
|---|---|
| coerce_to_local_path |
Return a plain Path for a local resource, stripping any URI scheme.
|
| coerce_to_upath | Return a UPath for path-like resources. |
| directory_writable | Return True if the directory is writable else False. |
| get_path_protocol | Return the normalized protocol for path-like resources. |
| is_local_path | Return True if resource refers to the local filesystem. |
| is_memory_uri | Return True if a path is a synthetic in-memory patch identity. |
| is_pathlike | Return True if resource is supported path-like input. |
| parse_hive_path_attrs |
Parse hive-style key=value pairs from a relative path.
|
| quote_path | Name a file for an error message. |
| requires_local_directory | Raise when directory operations are requested on non-local filesystems. |