pub fn validate_path( path: &str, options: &PathValidationOptions, ) -> Result<PathBuf, FsError>
Validate a path for security.