MCPcopy
hub / github.com/anthropics/financial-services / working_version

Function working_version

scripts/version_bump.py:110–114  ·  view source on GitHub ↗
(plugin_json: Path)

Source from the content-addressed store, hash-verified

108
109
110def working_version(plugin_json: Path) -> str | None:
111 try:
112 return json.loads(plugin_json.read_text()).get("version")
113 except (OSError, json.JSONDecodeError):
114 return None
115
116
117def is_ahead(work: str | None, base: str | None) -> bool:

Callers 2

cmd_applyFunction · 0.85
cmd_checkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected