MCPcopy Index your code
hub / github.com/simstudioai/sim / git

Function git

scripts/check-migrations-safety.ts:380–390  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

378}
379
380function git(args: string[]): string | null {
381 try {
382 return execFileSync('git', args, {
383 cwd: ROOT,
384 encoding: 'utf8',
385 stdio: ['ignore', 'pipe', 'ignore'],
386 }).trim()
387 } catch {
388 return null
389 }
390}
391
392/** New migration files on this branch vs base, plus uncommitted ones locally. */
393function changedMigrationFiles(baseRef: string): string[] {

Callers 2

changedMigrationFilesFunction · 0.85
resolveFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected