MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeWiki / _load_config

Function _load_config

codewiki/mcp/server.py:441–449  ·  view source on GitHub ↗

Load CodeWiki configuration from ~/.codewiki/config.json + keyring.

()

Source from the content-addressed store, hash-verified

439 session = _store.get(sid)
440 if session:
441 # Only stamp the incremental-update baseline when this
442 # session actually produced docs — otherwise an aborted
443 # session would make the next analyze_repo report
444 # "Documentation is up to date" over missing/stale docs.
445 if session.docs_written > 0:
446 _write_generation_metadata(session)
447 else:
448 logger.info(
449 "Session %s wrote no docs; skipping metadata.json baseline update", sid
450 )
451 # Clean up workspace files on disk
452 if session.workspace is not None:

Callers 1

_legacy_generate_docsFunction · 0.85

Calls 2

loadMethod · 0.95
ConfigManagerClass · 0.90

Tested by

no test coverage detected