MCPcopy Index your code
hub / github.com/coder/mux / getEntries

Method getEntries

src/node/services/memoryMeta.ts:176–179  ·  view source on GitHub ↗

All entries (pins + usage stats) keyed by logical memory identity.

()

Source from the content-addressed store, hash-verified

174
175 /** All entries (pins + usage stats) keyed by logical memory identity. */
176 async getEntries(): Promise<Map<string, MemoryMetaEntry>> {
177 const meta = await this.load();
178 return new Map(Object.entries(meta.entries).map(([key, entry]) => [key, { ...entry }]));
179 }
180
181 async setPinned(logicalKey: string, pinned: boolean): Promise<void> {
182 await this.mutate((entries) => {

Callers 6

memoryMeta.test.tsFile · 0.80
runLaunchSweepMethod · 0.80
listHotMemoriesMethod · 0.80
guardFunction · 0.80
routerFunction · 0.80

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected