pub const OpenOptions = struct 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.
follow_symlinks: bool = truefalse means it won't dereference the symlinks.
464
465
466
467
468
469
470
471
472
473
474pub 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,
/// `false` means it won't dereference the symlinks.
follow_symlinks: bool = true,
}