MCPcopy Create free account
hub / github.com/su-kaka/gcli2api / get_all_config

Method get_all_config

src/storage/psql_manager.py:861–864  ·  view source on GitHub ↗

获取所有配置(从内存缓存)

(self)

Source from the content-addressed store, hash-verified

859 return self._config_cache.get(key, default)
860
861 async def get_all_config(self) -> Dict[str, Any]:
862 """获取所有配置(从内存缓存)"""
863 self._ensure_initialized()
864 return self._config_cache.copy()
865
866 async def delete_config(self, key: str) -> bool:
867 """删除配置"""

Callers 1

get_configFunction · 0.45

Calls 1

_ensure_initializedMethod · 0.95

Tested by

no test coverage detected