pub const MAX_SAFE_FILE_NAME_LENGTH: usize = 200;
Expand description
A (somewhat arbitrary) filename limit that we should try to keep output file names below.
For the sake of consistency, this is a fixed constant that is likely to be safe across all platforms.
Different operating systems have different limits on file name and file path. See
validate_path_length
for details. Because this only accounts for a single path segment, and
not the total path length, this cannot not guarantee a full file path is safe.
To ensure file names are kept within this limit, call
[FileSystemPath::truncate_file_name_with_hash
].