dirs¶
Utilities for directory and file operations, navigation and management.
Path formatting¶
|
Convert a path into a consistent format for cross-platform compatibility. |
|
Standardize file and directory paths. |
|
Check if the pathname is relative to the current working directory. |
|
Format a path string for display, logging or printing purposes. |
Path validation¶
|
Check whether a string is formatted as a directory path. |
|
Validate a filename, generating a uniquely suffixed name if the file already exists. |
|
Check whether specified files exist within a given directory. |
Directory management¶
|
Delete a directory or multiple directories. |
|
Get the paths of files in a directory, optionally filtered by file extension. |