MCPcopy Create free account
hub / github.com/garrytan/gstack / profilePath

Function profilePath

test/taste-engine.test.ts:65–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65function profilePath(): string {
66 const slug = path.basename(workdir);
67 return path.join(stateDir, 'projects', slug, 'taste-profile.json');
68}
69
70function readProfile(): TasteProfile {
71 return JSON.parse(fs.readFileSync(profilePath(), 'utf-8'));

Callers 3

readProfileFunction · 0.85
writeProfileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected