Module utils

Module utils 

Source

Functionsยง

format_file_size
Format file size in human-readable format
get_file_size
Get file size
get_filename
Get filename from path
is_file_readable
Check if a file exists and is readable
is_file_rotated
Check if a file has been rotated (size decreased)
is_symlink
Check if a path is a symlink
read_file_from_end
Read all lines from a file
resolve_symlink
Resolve symlink to actual path
validate_files
Validate that all files exist and are readable