UNPKG

697 BTypeScriptView Raw
1/// <reference types="node" />
2import { HeaderData } from './header.js';
3export declare class Pax implements HeaderData {
4 atime?: Date;
5 mtime?: Date;
6 ctime?: Date;
7 charset?: string;
8 comment?: string;
9 gid?: number;
10 uid?: number;
11 gname?: string;
12 uname?: string;
13 linkpath?: string;
14 dev?: number;
15 ino?: number;
16 nlink?: number;
17 path?: string;
18 size?: number;
19 mode?: number;
20 global: boolean;
21 constructor(obj: HeaderData, global?: boolean);
22 encode(): Buffer;
23 encodeBody(): string;
24 encodeField(field: keyof Pax): string;
25 static parse(str: string, ex?: HeaderData, g?: boolean): Pax;
26}
27//# sourceMappingURL=pax.d.ts.map
\No newline at end of file