forked from olcxjas-softworks/LarpixClient
Add capacitorjs runtime
This commit is contained in:
parent
d0ece489ee
commit
f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions
25
node_modules/tar/dist/esm/mkdir.d.ts
generated
vendored
Normal file
25
node_modules/tar/dist/esm/mkdir.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import { CwdError } from './cwd-error.js';
|
||||
import { SymlinkError } from './symlink-error.js';
|
||||
export type MkdirOptions = {
|
||||
uid?: number;
|
||||
gid?: number;
|
||||
processUid?: number;
|
||||
processGid?: number;
|
||||
umask?: number;
|
||||
preserve: boolean;
|
||||
unlink: boolean;
|
||||
cwd: string;
|
||||
mode: number;
|
||||
};
|
||||
export type MkdirError = NodeJS.ErrnoException | CwdError | SymlinkError;
|
||||
/**
|
||||
* Wrapper around fs/promises.mkdir for tar's needs.
|
||||
*
|
||||
* The main purpose is to avoid creating directories if we know that
|
||||
* they already exist (and track which ones exist for this purpose),
|
||||
* and prevent entries from being extracted into symlinked folders,
|
||||
* if `preservePaths` is not set.
|
||||
*/
|
||||
export declare const mkdir: (dir: string, opt: MkdirOptions, cb: (er?: null | MkdirError, made?: string) => void) => void | Promise<void>;
|
||||
export declare const mkdirSync: (dir: string, opt: MkdirOptions) => void | SymlinkError;
|
||||
//# sourceMappingURL=mkdir.d.ts.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue