hexo/node_modules/atomically/dist/utils/temp.d.ts

12 lines
424 B
TypeScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
import { Disposer } from '../types';
declare const Temp: {
store: Record<string, boolean>;
create: (filePath: string) => string;
get: (filePath: string, creator: (filePath: string) => string, purge?: boolean) => [string, Disposer];
purge: (filePath: string) => void;
purgeSync: (filePath: string) => void;
purgeSyncAll: () => void;
truncate: (filePath: string) => string;
};
export default Temp;