Files
392a6a604c · 2025-10-11 10:47:07 +08:00
History
..
2025-10-11 10:47:07 +08:00
2025-10-11 10:47:07 +08:00
2025-10-11 10:47:07 +08:00
2025-10-11 10:47:07 +08:00

temp-file

export function getTempName(prefix?: string | null | undefined): string;

export class TmpDir {
    getTempDir(suffix?: string): Promise<string>;
    
    createTempDir(suffix?: string): Promise<string>;
    
    getTempFile(suffix: string, isDir?: boolean, disposer?: ((file: string) => Promise<void>) | null): Promise<string>;
    
    cleanupSync(): void;
    
    cleanup(): Promise<any>;
}