UNPKG

@softwareventures/maintain-project

Version:

Automatically create and maintain TypeScript projects with standard settings for Software Ventures Limited

8 lines (7 loc) 411 B
import type { Result } from "../result/result.js"; import type { FileExists } from "./file-exists.js"; import type { FsStage } from "./fs-stage.js"; import type { NotADirectory } from "./not-a-directory.js"; export type CommitResult = Result<CommitFailureReason>; export type CommitFailureReason = NotADirectory | FileExists; export declare function commit(path: string, stage: FsStage): Promise<CommitResult>;