thedesk/app/node_modules/temp-file/readme.md

17 lines
426 B
Markdown
Raw Normal View History

2019-09-13 00:38:13 +10:00
## temp-file
```typescript
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>;
}
```