staticql
Version:
Type-safe query engine for static content including Markdown, YAML, JSON, and more.
8 lines (7 loc) • 309 B
TypeScript
import type { DiffProvider, DiffLine } from "./index.js";
export declare class GitDiffProvider implements DiffProvider {
private baseDir;
constructor(baseDir: string);
diffLines(baseRef: string, headRef: string): Promise<DiffLine[]>;
gitShow(rev: string, filePath: string): Promise<string>;
}