[−][src]Function dia_args::paths::verify_ne_file_name
pub fn verify_ne_file_name<S>(name: S, max_len: Option<usize>) -> Result<()> where
S: AsRef<str>,
Verifies non-existing file name
Notes
- Maximum lengths are different across platforms. If you do not provide a value for maximum length,
1024
will be used. - Slashes
\/
, leading/trailing white space(s) and line breaks are invalid characters. - Non-ASCII characters are allowed.
- This function behaves differently across platforms. For example: on Windows
?
is not allowed, but on Unix it's ok.