MCPcopy Create free account
hub / github.com/ZyphrZero/z.ai2api_python / read_env_content

Function read_env_content

app/admin/config_manager.py:451–455  ·  view source on GitHub ↗
(env_path: str | Path = ENV_PATH)

Source from the content-addressed store, hash-verified

449
450
451def read_env_content(env_path: str | Path = ENV_PATH) -> str:
452 path = Path(env_path)
453 if not path.exists():
454 return ""
455 return path.read_text(encoding="utf-8")
456
457
458def validate_env_source(content: str) -> str:

Callers 3

get_env_previewFunction · 0.90
build_config_page_dataFunction · 0.85
_apply_env_changeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected