MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / set

Method set

commitizen/providers/cargo_provider.py:37–38  ·  view source on GitHub ↗
(self, document: TOMLDocument, version: str)

Source from the content-addressed store, hash-verified

35 return out
36
37 def set(self, document: TOMLDocument, version: str) -> None:
38 _try_get_workspace(document)["package"]["version"] = version
39
40 def set_version(self, version: str) -> None:
41 super().set_version(version)

Callers

nothing calls this directly

Calls 1

_try_get_workspaceFunction · 0.85

Tested by

no test coverage detected