MCPcopy
hub / github.com/ourongxing/newsnow / git

Function git

scripts/source.ts:12–18  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

10const sources = genSources()
11
12function git(args: string[]) {
13 return execFileSync("git", args, {
14 cwd: projectDir,
15 encoding: "utf8",
16 stdio: ["ignore", "pipe", "ignore"],
17 }).trim()
18}
19
20function tagExists(tag: string) {
21 try {

Callers 8

tagExistsFunction · 0.85
getTagCommitFunction · 0.85
isHeadFunction · 0.85
getVersionTagsFunction · 0.85
getVersionBaseRefFunction · 0.85
hasWorkingTreeChangeFunction · 0.85
getFileUpdatedAtFunction · 0.85
getUpdatedSourceIdsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected