Expand description
Directory creation and verification utilities.
Provides strategies for creating directories and verifying they are writable.
The DirectoryCreationStrategy enum does NOT include interactive/prompt variants;
adapter code should handle user interaction separately.
Enums§
- Directory
Creation Strategy - Strategy for how to handle missing directories when ensuring they exist.
Functions§
- ensure_
directory - Ensure the provided directory exists and is writable according to the chosen strategy.
- verify_
writable - Verify a directory is writable by attempting to create a test file.