TarFormat class
Holds the possible TAR formats that a file could take.
This library only supports the V7, USTAR, PAX, GNU, and STAR formats.
- Annotations
-
- @sealed
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
has(
TarFormat other) → bool -
Returns if
other
is a possible resolution ofthis
. -
isValid(
) → bool - Returns if this format might be valid.
-
mayBe(
TarFormat? other) → TarFormat -
Returns a new TarFormat that signifies that it can be either
this
orother
's format. -
mayOnlyBe(
TarFormat other) → TarFormat -
Returns a new TarFormat that signifies that it can only be
other
's format. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
-
operator |(
TarFormat other) → TarFormat -
Returns a new TarFormat that signifies that it can be either
this
orother
's format.
Constants
- gnu → const TarFormat
- GNU header format.
- pax → const TarFormat
- PAX header format defined in POSIX.1-2001.
- star → const TarFormat
- Schily's TAR format, which is incompatible with USTAR. This does not cover STAR extensions to the PAX format; these fall under the PAX format.
- ustar → const TarFormat
- USTAR (Unix Standard TAR) header format defined in POSIX.1-1988.
- v7 → const TarFormat
- Original Unix Version 7 (V7) AT&T tar tool prior to standardization.