Skip to main content

TarEntry

@webda/oci


Interface: TarEntry

Defined in: packages/oci/src/tar.ts:12

An entry of a tar archive

Properties​

content?​

optional content?: Buffer<ArrayBufferLike>

Defined in: packages/oci/src/tar.ts:28

Content of the file, when there is no source


mode​

mode: number

Defined in: packages/oci/src/tar.ts:24

Permission bits


path​

path: string

Defined in: packages/oci/src/tar.ts:16

Posix path within the archive, without leading /; directories end without /


source?​

optional source?: string

Defined in: packages/oci/src/tar.ts:32

File to read the content from


type​

type: "file" | "directory"

Defined in: packages/oci/src/tar.ts:20

Entry type