struct OpenOptions [src]

Fields

access_sub_paths: bool = truetrue means the opened directory can be used as the Dir parameter for functions which operate based on an open directory handle. When false, such operations are Illegal Behavior.
iterate: bool = falsetrue means the opened directory can be scanned for the files and sub-directories of the result. It means the iterate function can be called.
no_follow: bool = falsetrue means it won't dereference the symlinks.

Source

pub const OpenOptions = struct { /// `true` means the opened directory can be used as the `Dir` parameter /// for functions which operate based on an open directory handle. When `false`, /// such operations are Illegal Behavior. access_sub_paths: bool = true, /// `true` means the opened directory can be scanned for the files and sub-directories /// of the result. It means the `iterate` function can be called. iterate: bool = false, /// `true` means it won't dereference the symlinks. no_follow: bool = false, }