Skip to main content

validate_entry_ext

Function validate_entry_ext 

Source
pub fn validate_entry_ext(path: &Path) -> Result<(), String>
Expand description

Validate a file path’s extension as a morph source entry. Returns a hard-error message when the extension is disallowed, or None when it is supported.