MCPcopy
hub / github.com/forloopcodes/contextplus / RestorePoint

Interface RestorePoint

src/git/shadow.ts:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9const DATA_DIR = ".mcp_data";
10
11export interface RestorePoint {
12 id: string;
13 timestamp: number;
14 files: string[];
15 message: string;
16}
17
18function assertWithinRoot(rootDir: string, filePath: string): string {
19 const resolved = resolve(rootDir, filePath);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected