Skip to main content

TarEntry

@webda/oci


Interface: TarEntry

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

An entry of a tar archive

Properties​

content?​

optional content?: Buffer<ArrayBufferLike>

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

Content of the file, when there is no source


mode​

mode: number

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

Permission bits


path​

path: string

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

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


source?​

optional source?: string

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

File to read the content from


type​

type: "file" | "directory"

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

Entry type