Skip to main content

validate_input_path

Function validate_input_path 

Source
pub fn validate_input_path(
    path: &Path,
    max_size: u64,
    allow_symlinks: bool,
) -> Result<(), Error>
Expand description

Validate that an input path is a regular file (not a symlink, FIFO, etc.) and within the configured size limit.