pub fn validate_path(path: &str) -> Result<(), MdzError>Expand description
Check that path is a valid archive entry name (Section 5.4).
A trailing / marks a directory entry; every segment before it must be a
real name. Returns the specific error code the spec’s fixtures use.