UNPKG

@phroun/paged-buffer

Version:

High-performance buffer system for editing massive files with intelligent memory management and undo/redo capabilities

25 lines 714 B
/** * Buffer data integrity state enumeration */ export declare enum BufferState { /** Data is intact and synchronized with source */ CLEAN = "clean", /** Some data is missing or source is unavailable, must save-as */ DETACHED = "detached", /** Serious data integrity issues detected */ CORRUPTED = "corrupted" } /** * File change detection strategies */ export declare enum FileChangeStrategy { /** Ignore external file changes */ IGNORE = "ignore", /** Warn user about external changes */ WARN = "warn", /** Automatically rebase changes */ REBASE = "rebase", /** Detach buffer from file */ DETACH = "detach" } //# sourceMappingURL=buffer-types.d.ts.map