Versions 142 to 143
Lines 1–9 at 143 (were 1–8 at 142)
12// The version list reads: log (versions newest first, or one file's history), ribbon (who published each version),
23// show (one version's changes), fileAt, compare and viewAt. They read through LogHost; today the host is the project
45
5−import { type AtomId, type Graph, View } from "../../src/engine/index.ts";
Lines 20–31 at 143 (were 19–30 at 142)
22− viewAt(space: Space, version: number): View;
23− view(set: ReadonlySet<AtomId>): View;
25− spellingIn(view: View, path: string): string;
27− touchedFiles(ids: Iterable<AtomId>, views: readonly View[]): Set<string>;
2930
Lines 60–66 at 143 (were 59–65 at 142)
5960 // A file's history (#43): only versions whose changes name the file, or a file moves can carry lines from, can have changed it.
6061 const sources = path === undefined ? undefined : new Set(names.flatMap((n) => [...moveSources(host.graph, n.path)]));
62− const views = new Map<number, View>();
Lines 180–186 at 143 (were 179–185 at 142)
181182
182−function logEntry(host: LogHost, space: Space, version: number, views?: Map<number, View>): LogEntry {
183+function logEntry(host: LogHost, space: Space, version: number, views?: Map<number, ReadView>): LogEntry {
Lines 265–276 at 143 (were 264–271 at 142)
266267
267−/** A version of shared (or of a named draft) as a View, for reading lines (blame at a version). */
268−export function viewAt(host: LogHost, version: number, options: { draft?: string | null; agent?: string } = {}): View {
268+/** A version of shared (or of a named draft) as a ReadView, for reading lines (blame at a version). */
- MCP
- compare on this site's /mcp
- CLI
- abso diff 142 143 worker/project/version-log.ts --json
- JSON
- /christopher/abso-core/compare/142..143?file=worker%2Fproject%2Fversion-log.ts&format=json