MCPcopy
hub / github.com/openclaw/clawsweeper / commitShasArg

Function commitShasArg

src/commit-sweeper.ts:511–517  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

509}
510
511function commitShasArg(value: string): string[] {
512 return value
513 .split(/[\s,]+/)
514 .map((sha) => sha.trim())
515 .filter(Boolean)
516 .map((sha) => assertSha(sha));
517}
518
519function classifyCommand(args: Args): void {
520 const targetRepo = argString(args, "target_repo", DEFAULT_TARGET_REPO);

Callers 1

classifyCommandFunction · 0.85

Calls 1

assertShaFunction · 0.70

Tested by

no test coverage detected