MCPcopy Index your code
hub / github.com/Opencode-DCP/opencode-dynamic-context-pruning / fail

Function fail

scripts/verify-package.mjs:50–53  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

48const packageInfoCache = new Map()
49
50function fail(message) {
51 console.error(`package verification failed: ${message}`)
52 process.exit(1)
53}
54
55function assertRepoFilesExist() {
56 for (const relativePath of requiredRepoFiles) {

Callers 5

assertRepoFilesExistFunction · 0.85
assertPackageJsonShapeFunction · 0.85
resolveLocalImportFunction · 0.85
validatePackedFilesFunction · 0.85

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected