MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / relFor

Function relFor

src/workspaces/issues/mutate.ts:79–79  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

77 | { ok: false; reason: 'invalid'; error: string }
78
79const relFor = (id: string): string => join(ISSUES_DIR_REL, `${id}.md`)
80
81/** A valid issue id / filename stem — kebab-ish, no path separators (the file
82 * service guards traversal too, but reject early with a clear reason). */

Callers 3

updateIssueFieldsFunction · 0.85
appendIssueCommentFunction · 0.85
createIssueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected