Skip to main content

MAX_FILENAME_BYTES

Constant MAX_FILENAME_BYTES 

Source
pub const MAX_FILENAME_BYTES: usize = 240;
Expand description

Maximum bytes for a single filename component (excluding extension). macOS HFS+/APFS limit is 255 bytes per component; we reserve 15 for extension + safety.