Skip to main content

validate_source_path

Function validate_source_path 

Source
pub fn validate_source_path(field: &str, value: &str) -> ValidationResult
Expand description

Validate a kopia identity sourcePath (the part after the first :). Lenient: spaces and : are allowed (only the first : is kopia’s delimiter, and the rest is the path verbatim), but the path must be non-empty and free of newlines / ASCII control characters.