Function validate_file_path
Source pub fn validate_file_path(value: &str, must_exist: bool) -> SubXResult<()>
Expand description
Validate that a path exists and is accessible.
§Arguments
value - The path string to validate
must_exist - Whether the path must already exist
§Errors
Returns error if path is invalid or doesn’t exist when required.