Skip to main content
Module

std/archive/tar.ts>TarData

The Deno Standard Library
Go to Latest
interface TarData
import { type TarData } from "https://deno.land/std@0.223.0/archive/tar.ts";

Base interface for TarDataWithSource.

Properties

optional
fileName: string

Name of the file, excluding directory names (if any).

optional
fileNamePrefix: string

Directory names preceding the file name (if any).

optional
fileMode: string

The underlying raw st_mode bits that contain the standard Unix permissions for this file/directory.

optional
uid: string

Numeric user ID of the file owner. This is ignored if the operating system does not support numeric user IDs.

optional
gid: string

Numeric group ID of the file owner. This is ignored if the operating system does not support numeric group IDs.

optional
fileSize: string

The size of the file in bytes; for archive members that are symbolic or hard links to another file, this field is specified as zero.

optional
mtime: string

Data modification time of the file at the time it was archived. It represents the integer number of seconds since January 1, 1970, 00:00 UTC.

optional
checksum: string

The simple sum of all bytes in the header block

optional
type: string

The type of file archived.

optional
ustar: string

Ustar magic header

optional
owner: string

The name of the file owner.

optional
group: string

The group that the file owner belongs to.