pub fn validate_path(
path: &[u8],
mode: EntryMode,
opts: ProtectOptions,
kind: PathValidationKind,
) -> Result<(), PathComponentError>Expand description
Validate a repository-relative path by checking each /-separated component.
ยงErrors
Same as validate_component for the first failing segment.