TarHeader class sealed

Header of a tar entry

A tar header stores meta-information about the matching tar entry, such as its name.

Constructors

TarHeader({required String name, required int mode, TarFormat? format, TypeFlag? typeFlag, DateTime? modified, String? linkName, int size = -1, String? userName, int userId = 0, int groupId = 0, String? groupName, DateTime? accessed, DateTime? changed, int devMajor = 0, int devMinor = 0})
Creates a tar header from the individual fields.
factory

Properties

accessed → DateTime?
The time of the last access to the data of the TAR file.
no setter
changed → DateTime?
The time of the last change to the data or metadata of the TAR file.
no setter
devMajor → int
Major device number
no setter
devMinor → int
Minor device number
no setter
format → MaybeTarFormat
The TAR format of the header.
no setter
groupId → int
Group ID of owner.
no setter
groupName → String?
Group name of owner.
no setter
hasContent → bool
Checks if this header indicates that the file will have content.
no setter
hashCode → int
The hash code for this object.
no setterinherited
linkName → String?
Target name of link (valid for hard links or symbolic links).
no setter
mode → int
Permission and mode bits.
no setter
modified → DateTime
The time of the last change to the data of the TAR file.
no setter
name → String
Name of file or directory entry.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
Logical file size in bytes.
no setter
typeFlag → TypeFlag
Type of header entry. In the V7 TAR format, this field was known as the link flag.
no setter
userId → int
User ID of owner.
no setter
userName → String?
User name of owner.
no setter

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