UNPKG

sourcecontrol

Version:

A modern TypeScript CLI application for source control

12 lines 514 B
import type { Path } from 'glob'; import type { GitObject } from '../../core/objects'; import type { ObjectStore } from '../../core/object-store'; export declare abstract class Repository { abstract init(path: Path): Promise<void>; abstract workingDirectory(): Path; abstract gitDirectory(): Path; abstract objectStore(): ObjectStore; abstract readObject(sha: string): Promise<GitObject | null>; abstract writeObject(object: GitObject): Promise<string>; } //# sourceMappingURL=repo.d.ts.map