UNPKG

@directus/api

Version:

Directus is a real-time API and App dashboard for managing SQL database content

19 lines (18 loc) 547 B
export declare class SyncFileTracker { private localFiles; private trackedDirs; constructor(); /** * Reads all files recusrively in the provided directory * @returns the number of files read */ readLocalFiles(localExtensionsPath: string): Promise<number>; /** * Removes a file from the locally tracked files */ passedFile(filePath: string): Promise<void>; /** * Removes left over tracked files that were not processed */ cleanup(localExtensionsPath: string): Promise<void>; }