Expand description
Utility functions for file operations
Functions§
- create_
dir_ if_ not_ exists - Create a directory if it doesn’t exist
- exists
- Check if a path exists and is a file
- get_
extension - Get the file extension from a path
- get_
parent - Get the parent directory of a path
- get_
stem - Get the file name without extension from a path
- glob_
files - Get all files matching a glob pattern
- is_dir
- Check if a path exists and is a directory
- read_
to_ string - Read a file to string
- write_
string - Write a string to a file