Versions 142 to 143
Lines 1–9 at 143 (were 1–9 at 142)
1−import type { View } from "../../src/engine/index.ts";
44
6−export function changesBetween(before: View, after: View, files: Iterable<string>): FileChange[] {
6+export function changesBetween(before: ReadView, after: ReadView, files: Iterable<string>): FileChange[] {
Lines 19–25 at 143 (were 19–25 at 142)
2020
2121/** Whether a file differs between two views: its text, its mode, or its blob (what changesBetween lists). */
22−export function differs(before: View, after: View, path: string): boolean {
Lines 29–35 at 143 (were 29–35 at 142)
3030
32−export function modeChange(before: View, after: View, path: string): { before: Mode; after: Mode } | undefined {
32+export function modeChange(before: ReadView, after: ReadView, path: string): { before: Mode; after: Mode } | undefined {
Lines 37–43 at 143 (were 37–43 at 142)
3838
40−export function modesOf(view: View): Modes {
- MCP
- compare on this site's /mcp
- CLI
- abso diff 142 143 worker/project/view-changes.ts --json
- JSON
- /christopher/abso-core/compare/142..143?file=worker%2Fproject%2Fview-changes.ts&format=json