MCPcopy Create free account
hub / github.com/tiann/hapi / getPatchFiles

Method getPatchFiles

cli/src/codex/codexRemoteLauncher.ts:509–513  ·  view source on GitHub ↗
(changes: unknown)

Source from the content-addressed store, hash-verified

507 };
508
509 const getPatchFiles = (changes: unknown): string[] => {
510 const record = asRecord(changes);
511 if (!record) return [];
512 return Object.keys(record).filter((file) => file.length > 0);
513 };
514
515 const summarizeFiles = (files: string[]): string | null => {
516 if (files.length === 0) return null;

Callers

nothing calls this directly

Calls 1

asRecordFunction · 0.70

Tested by

no test coverage detected