enum Filter [src]
Fields
file_onlyCauses OpenFile to return error.IsDir if the opened handle would be a directory.
dir_onlyCauses OpenFile to return error.NotDir if the opened handle would be a file.
anyOpenFile does not discriminate between opening files and directories.
Source
pub const Filter = enum {
/// Causes `OpenFile` to return `error.IsDir` if the opened handle would be a directory.
file_only,
/// Causes `OpenFile` to return `error.NotDir` if the opened handle would be a file.
dir_only,
/// `OpenFile` does not discriminate between opening files and directories.
any,
}