MCPcopy
hub / github.com/commitizen-tools/commitizen / get

Method get

commitizen/providers/base_provider.py:75–76  ·  view source on GitHub ↗
(self, document: Mapping[str, str])

Source from the content-addressed store, hash-verified

73 )
74
75 def get(self, document: Mapping[str, str]) -> str:
76 return document["version"]
77
78 def set(self, document: dict[str, Any], version: str) -> None:
79 document["version"] = version

Callers 15

get_versionMethod · 0.95
test_arg_debugFunction · 0.45
mock_entrypointsFunction · 0.45
messageMethod · 0.45
process_commit_messageFunction · 0.45
__init__Method · 0.45
__init__Method · 0.45
prereleaseMethod · 0.45
get_version_schemeFunction · 0.45
extract_versionMethod · 0.45
search_versionMethod · 0.45

Calls

no outgoing calls

Tested by 4

test_arg_debugFunction · 0.36
mock_entrypointsFunction · 0.36
messageMethod · 0.36