Expand description
Utility functions module
Functionsยง
- Formats a file size in a human-readable format.
- Generates a timestamp string in ISO 8601 format.
- Checks if a directory is writable.
- Checks if a file exists and is writable.
- Parses a datetime string in ISO 8601 format.
- Sanitizes a string for use in log messages.
- Truncates the file at the given path to the specified size.