feature: initial commit

This commit is contained in:
Danilo Cesa
2025-05-29 09:50:45 +08:00
commit 0f0d9e3bef
815 changed files with 120458 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
/// <reference types="node" />
import { HeaderData } from './header.js';
export declare class Pax implements HeaderData {
atime?: Date;
mtime?: Date;
ctime?: Date;
charset?: string;
comment?: string;
gid?: number;
uid?: number;
gname?: string;
uname?: string;
linkpath?: string;
dev?: number;
ino?: number;
nlink?: number;
path?: string;
size?: number;
mode?: number;
global: boolean;
constructor(obj: HeaderData, global?: boolean);
encode(): Buffer;
encodeBody(): string;
encodeField(field: keyof Pax): string;
static parse(str: string, ex?: HeaderData, g?: boolean): Pax;
}
//# sourceMappingURL=pax.d.ts.map