validate_fs_id

Function validate_fs_id 

Source
pub fn validate_fs_id(id: &str, label: &str) -> Result<(), String>
Expand description

Validate an ID for filesystem safety.

Rejects empty strings, path separators, .., null bytes, and control characters.