Initial commit
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
export declare function getTempName(prefix?: string | null | undefined): string;
|
||||
export interface GetTempFileOptions {
|
||||
prefix?: string | null;
|
||||
suffix?: string | null;
|
||||
disposer?: ((file: string) => Promise<void>) | null;
|
||||
}
|
||||
export declare class TmpDir {
|
||||
private readonly debugName;
|
||||
private tempFiles;
|
||||
private registered;
|
||||
constructor(debugName?: string);
|
||||
get rootTempDir(): Promise<string>;
|
||||
getTempDir(options?: GetTempFileOptions): Promise<string>;
|
||||
createTempDir(options?: GetTempFileOptions): Promise<string>;
|
||||
getTempFile(options?: GetTempFileOptions, isDir?: boolean): Promise<string>;
|
||||
cleanupSync(): void;
|
||||
cleanup(): Promise<any>;
|
||||
toString(): string;
|
||||
}
|
||||
Reference in New Issue
Block a user