MCPcopy
hub / github.com/di-sukharev/opencommit / assertGitRepo

Function assertGitRepo

out/cli.cjs:85641–85647  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85639 return commitMessagePromises;
85640};
85641
85642// src/utils/git.ts
85643var import_fs3 = require("fs");
85644var import_ignore = __toESM(require_ignore(), 1);
85645var import_path4 = require("path");
85646init_dist2();
85647var assertGitRepo = async () => {
85648 try {
85649 await execa("git", ["rev-parse"]);
85650 } catch (error) {

Callers 3

githook.tsFile · 0.90
cli.cjsFile · 0.70

Calls 1

execaFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…