TarFile class final

A file to put into a tar archive: the path inside the container (absolute or relative to the extraction directory), its bytes and its permission bits.

Constructors

TarFile(String path, List<int> bytes, {int mode = 420})
A regular file at path with bytes; mode is the Unix permission (0644 by default).
const

Properties

bytes → List<int>
The content.
final
hashCode → int
The hash code for this object.
no setterinherited
mode → int
The permission bits, as the number (0x1A4 is 0644).
final
path → String
The path inside the container.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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