Crowbar::Rules::TarRule
Inherits Crowbar::Rule < Reference < Object
Structure-preserving rule for Unix TAR archives (POSIX UStar). Preserves 512-byte block alignment and UStar header structure, while mutating file names, permissions, file size records, type flags, or data payloads, and automatically recalculating the octal header checksum.
Constants
USTAR_MAGIC = "ustar".to_slice
Instance methods
Applies a structure-preserving transformation to the buffer
description
SourceChecks whether the buffer matches the format handled by this rule
name
Source