feat: init
This commit is contained in:
22
node_modules/@vercel/nft/out/fs.d.ts
generated
vendored
Normal file
22
node_modules/@vercel/nft/out/fs.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import type { Stats } from 'fs';
|
||||
export declare class CachedFileSystem {
|
||||
private fileCache;
|
||||
private statCache;
|
||||
private symlinkCache;
|
||||
private fileIOQueue;
|
||||
constructor({ cache, fileIOConcurrency, }: {
|
||||
cache?: {
|
||||
fileCache?: Map<string, Promise<string | null>>;
|
||||
statCache?: Map<string, Promise<Stats | null>>;
|
||||
symlinkCache?: Map<string, Promise<string | null>>;
|
||||
};
|
||||
fileIOConcurrency: number;
|
||||
});
|
||||
readlink(path: string): Promise<string | null>;
|
||||
readFile(path: string): Promise<string | null>;
|
||||
stat(path: string): Promise<Stats | null>;
|
||||
private _internalReadlink;
|
||||
private _internalReadFile;
|
||||
private _internalStat;
|
||||
private executeFileIO;
|
||||
}
|
||||
Reference in New Issue
Block a user