MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / datasetPath

Function datasetPath

src/agent/dataset-export.ts:62–65  ·  view source on GitHub ↗
(projectRoot: string)

Source from the content-addressed store, hash-verified

60}
61
62function datasetPath(projectRoot: string): string {
63 const hash = createHash('sha1').update(projectRoot).digest('hex').slice(0, 16);
64 return path.join(os.homedir(), '.qodex', 'dataset', `${hash}.jsonl`);
65}
66
67/**
68 * Append one ShareGPT record for a successful task. Best-effort: a write failure is

Callers 2

appendShareGptRecordFunction · 0.85
getShareGptDatasetPathFunction · 0.85

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected