MCPcopy Create free account
hub / github.com/EvoMap/evolver / listGenes

Function listGenes

src/webui/observer/assets.js:35–41  ·  view source on GitHub ↗
(query = {})

Source from the content-addressed store, hash-verified

33}
34
35function listGenes(query = {}) {
36 const genes = readGenes(getObserverPaths());
37 return {
38 ...paginate(filterText(genes, query.q), query),
39 categories: countBy(genes, 'category'),
40 };
41}
42
43function listCapsules(query = {}) {
44 const paths = getObserverPaths();

Callers

nothing calls this directly

Calls 5

readGenesFunction · 0.85
getObserverPathsFunction · 0.85
paginateFunction · 0.85
filterTextFunction · 0.85
countByFunction · 0.85

Tested by

no test coverage detected