* diff

* fixes

* fixes

* fixes

* fixes

* fixes

* better docs
This commit is contained in:
Chris Tate
2026-02-19 23:51:09 -06:00
committed by GitHub
parent 9732031087
commit d5a667ea2d
21 changed files with 2446 additions and 88 deletions
+14
View File
@@ -154,6 +154,20 @@ export class BrowserManager {
return snapshot;
}
/**
* Get the last snapshot tree text (empty string if no snapshot has been taken)
*/
getLastSnapshot(): string {
return this.lastSnapshot;
}
/**
* Update the stored snapshot (used by diff to keep the baseline current)
*/
setLastSnapshot(snapshot: string): void {
this.lastSnapshot = snapshot;
}
/**
* Get the cached ref map from last snapshot
*/