MCPcopy Create free account
hub / github.com/HELPMEEADICE/doge-code / recordFileHistorySnapshot

Function recordFileHistorySnapshot

src/utils/sessionStorage.ts:1522–1532  ·  view source on GitHub ↗
(
  messageId: UUID,
  snapshot: FileHistorySnapshot,
  isSnapshotUpdate: boolean,
)

Source from the content-addressed store, hash-verified

1520}
1521
1522export async function recordFileHistorySnapshot(
1523 messageId: UUID,
1524 snapshot: FileHistorySnapshot,
1525 isSnapshotUpdate: boolean,
1526) {
1527 await getProject().insertFileHistorySnapshot(
1528 messageId,
1529 snapshot,
1530 isSnapshotUpdate,
1531 )
1532}
1533
1534export async function recordAttributionSnapshot(
1535 snapshot: AttributionSnapshotMessage,

Callers 3

fileHistoryTrackEditFunction · 0.85
fileHistoryMakeSnapshotFunction · 0.85
copyFileHistoryForResumeFunction · 0.85

Calls 2

getProjectFunction · 0.85

Tested by

no test coverage detected