UNPKG

@iyulab/oops

Version:

Core SDK for Oops - Safe text file editing with automatic backup

19 lines 718 B
/** * File tracking management for Oops */ import { FileTrackingInfo, FileStatusInfo } from './types'; export declare class FileTracker { private workspacePath; constructor(workspacePath: string); isTracked(filePath: string): Promise<boolean>; startTracking(filePath: string, message?: string): Promise<FileTrackingInfo>; stopTracking(filePath: string): Promise<void>; getTrackingInfo(filePath: string): Promise<FileTrackingInfo>; getAllTracked(): Promise<FileTrackingInfo[]>; getStatus(filePath: string): Promise<FileStatusInfo>; private getTrackingPath; private hashPath; private updateWorkspaceState; private removeDirectory; } //# sourceMappingURL=tracker.d.ts.map