Inodes! ExtractionOptions! Files! Directories!
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
const Writer = @import("std").Io.Writer;
|
||||
|
||||
const ExtractionOptions = @This();
|
||||
|
||||
/// Don't set the file's permissions after extraction
|
||||
ignorePermissions: bool = false,
|
||||
/// Don't set the file's owner after extraction.
|
||||
ignoreOwner: bool = false,
|
||||
/// Replace symlinks with their target.
|
||||
dereferenceSymlinks: bool = false,
|
||||
|
||||
verbose: bool = false,
|
||||
/// If options verbose and verboseWriter not set, logs are printed to stdout.
|
||||
verboseWriter: ?Writer = null,
|
||||
|
||||
pub const Default: ExtractionOptions = .{};
|
||||
pub const VerboseDefault: ExtractionOptions = .{ .verbose = true };
|
||||
Reference in New Issue
Block a user