MCPcopy Create free account
hub / github.com/delinoio/oss / commit

Function commit

scripts/ci/plan.mjs:165–174  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

163}
164
165function commit(value) {
166 if (
167 typeof value !== "string" ||
168 !/^[0-9a-f]{40}$/u.test(value) ||
169 /^0+$/u.test(value)
170 ) {
171 throw new Error("CI comparison requires a nonzero 40-character commit SHA");
172 }
173 return value;
174}
175
176export function changedFiles(
177 eventName,

Callers 3

previousJobPathsFunction · 0.70
changedFilesFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected