MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / item

Function item

graph-ui/src/ir/checklist-generator.ts:142–155  ·  view source on GitHub ↗

Build one item, deriving its id from what it points at rather than from its wording.

(
    category: ChecklistCategory,
    label: string,
    targetQualifiedName: string | undefined,
    target: SymbolRef | undefined
)

Source from the content-addressed store, hash-verified

140
141/** Build one item, deriving its id from what it points at rather than from its wording. */
142function item(
143 category: ChecklistCategory,
144 label: string,
145 targetQualifiedName: string | undefined,
146 target: SymbolRef | undefined
147): ChecklistItem {
148 return {
149 id: checklistItemId(category, targetQualifiedName ?? label),
150 category,
151 label,
152 target,
153 done: false
154 };
155}
156
157/**
158 * A navigable reference to one line of one file.

Callers 1

generateChecklistFunction · 0.70

Calls 1

checklistItemIdFunction · 0.85

Tested by

no test coverage detected