Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/archive/Tarball.ts>TarEntry

A JavaScript extension package for building strong and modern applications.
Latest
interface TarEntry
import { type TarEntry } from "https://deno.land/x/ayonli_jsext@v0.9.72/archive/Tarball.ts";

Information about a file in a tar archive.

Properties

name: string
kind:
| "file"
| "link"
| "symlink"
| "character-device"
| "block-device"
| "directory"
| "fifo"
| "contiguous-file"
relativePath: string

The relative path of the entry.

NOTE: The path separator is always / regardless of the platform.

size: number

The size of the file in bytes. This value may be 0 if this is a directory.

mtime: Date

The last modified time of the file.

mode: number

The permission mode of the file. This value may be 0 on unsupported platforms.

uid: number

User ID of the owner of the file. This value may be 0 on unsupported platforms.

gid: number

Group ID of the owner of the file. This value may be 0 on unsupported platforms.

owner: string

The owner's name of the file. This value may be an empty string on unsupported platforms.

group: string

The group's name of the file. This value may be an empty string on unsupported platforms.