MCPcopy Create free account
hub / github.com/IBM/mcp-cli / _list

Function _list

tests/commands/memory/test_memory_command.py:169–174  ·  view source on GitHub ↗
(scope)

Source from the content-addressed store, hash-verified

167 )
168
169 def _list(scope):
170 if scope == MemoryScope.WORKSPACE:
171 return [ws_entry]
172 elif scope == MemoryScope.GLOBAL:
173 return [gl_entry]
174 return []
175
176 store.list_entries.side_effect = _list
177

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected