enumstd.tar.PipeOptions.ModeMode[src]

Fields

ignore

The mode from the tar file is completely ignored. Files are created with the default mode when creating files.

executable_bit_only

The mode from the tar file is inspected for the owner executable bit only. This bit is copied to the group and other executable bits. Other bits of the mode are left as the default when creating files.

Source Code

Source code
pub const ModeMode = enum {
    /// The mode from the tar file is completely ignored. Files are created
    /// with the default mode when creating files.
    ignore,
    /// The mode from the tar file is inspected for the owner executable bit
    /// only. This bit is copied to the group and other executable bits.
    /// Other bits of the mode are left as the default when creating files.
    executable_bit_only,
}