MCPcopy Index your code
hub / github.com/remix-run/react-router / execGit

Function execGit

scripts/utils/git.ts:3–7  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

1import * as cp from "node:child_process";
2
3function execGit(args: string[]): string {
4 return cp
5 .execFileSync("git", args, { stdio: "pipe", encoding: "utf-8" })
6 .trim();
7}
8
9function parseVersionFromPackageJson(content: string): string | null {
10 try {

Callers 6

getPackageVersionAtRefFunction · 0.85
getLocalTagTargetFunction · 0.85
getRemoteTagTargetFunction · 0.85
getFileShaFunction · 0.85
getCommitSubjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…