pub const MAX_FILENAME_LEN: usize = 255;Expand description
Maximum filename length in UTF-8 bytes.
This is intentionally byte-based rather than scalar-count-based. It is more conservative than NTFS/APFS “255 characters” and remains compatible with the common ext4 255-byte component limit.