//! Constants for safename validation and sanitization.
// See lookup.rs for the constant byte lookup tables.
/// Unicode replacement character (U+FFFD) encoded as UTF-8.
pub const REPLACEMENT_CHAR: & = &;
/// ASCII underscore as a single-byte replacement option.
pub const REPLACEMENT_UNDERSCORE: & = b"_";
/// Default maximum filename length (NAME_MAX on most Unix systems).
pub const DEFAULT_MAX_FILE_LEN: usize = 255;
/// Default maximum path length (PATH_MAX on most Unix systems).
pub const DEFAULT_MAX_PATH_LEN: usize = 4096;
/// Current directory special filename.
pub const DOT: & = b".";
/// Parent directory special filename.
pub const DOTDOT: & = b"..";