Skip to main content

Module path_utils

Module path_utils 

Source
Expand description

Path utilities for cross-platform compatibility.

Functionsยง

ensure_dir
Ensure a directory exists, creating it if necessary.
is_dir
Check if a path exists and is a directory.
is_file
Check if a path exists and is a file.
normalize_path
Normalize a path for the current platform.
read_file
Read a file to string safely.
write_file
Write a string to a file safely.