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

Function inDir

scripts/check-migrations-safety.ts:395–395  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

393function changedMigrationFiles(baseRef: string): string[] {
394 const files = new Set<string>()
395 const inDir = (p: string) => p.startsWith(`${MIGRATIONS_DIR}/`) && p.endsWith('.sql')
396
397 const mergeBase = git(['merge-base', baseRef, 'HEAD']) ?? baseRef
398 const committed = git([

Callers 1

changedMigrationFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected