MaybeTarFormat class sealed
Holds the possible TAR formats that a file could take.
This library supports the V7, USTAR, PAX, GNU, and STAR formats. The MaybeTarFormat class generally describes any combination of those formats and represents that we don't know the exact format yet. As soon as we do know, the TarFormat enum represents the exact format of a header.
Properties
Methods
-
has(
MaybeTarFormat other) → bool -
Returns if
other
is a possible resolution ofthis
. -
mayOnlyBe(
MaybeTarFormat other) → MaybeTarFormat -
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator |(
TarFormat other) → MaybeTarFormat -
Returns a new MaybeTarFormat that signifies that it can be either
this
orother
's format.