Skip to main content

validate_file_path

Function validate_file_path 

Source
pub fn validate_file_path(
    path: &str,
    mode: &FileMode,
    missing_directories: &MissingDirectories,
) -> FilePickerValidation
Expand description

Validate a file path for the given mode and missing directories policy

This is a standalone function that can be used without a FilePicker instance, useful for validation logic and testing.