MCPcopy Create free account
hub / github.com/tinyplex/tinybase / forEachIndex

Function forEachIndex

src/indexes/index.ts:219–224  ·  view source on GitHub ↗
(indexCallback: IndexCallback)

Source from the content-addressed store, hash-verified

217 };
218
219 const forEachIndex = (indexCallback: IndexCallback) =>
220 forEachIndexImpl((indexId, slices) =>
221 indexCallback(indexId, (sliceCallback) =>
222 forEachSliceImpl(indexId, sliceCallback, slices),
223 ),
224 );
225
226 const forEachSlice = (indexId: Id, sliceCallback: SliceCallback) =>
227 forEachSliceImpl(indexId, sliceCallback, getIndex(indexId) as IdSet2);

Callers

nothing calls this directly

Calls 1

forEachSliceImplFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…