MCPcopy Create free account
hub / github.com/avitorio/outstatic / CommitAPI

Interface CommitAPI

packages/outstatic/src/utils/create-commit-api.ts:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import { createOutstaticCommitMessage } from '@/utils/commit-message'
4
5export interface CommitAPI {
6 createInput: () => CreateCommitOnBranchInput
7 setMessage: (title: string, body?: string) => void
8 replaceFile: (file: string, contents: string, encode?: boolean) => void
9 removeFile: (file: string) => void
10}
11
12interface CreateCommitOptions {
13 message: string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected