Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/commitizen-tools/commitizen
/ _create_config_from_path
Function
_create_config_from_path
commitizen/config/__init__.py:30–31 ·
view source on GitHub ↗
(path: Path)
Source
from the content-addressed store, hash-verified
28
29
30
def
_create_config_from_path(path: Path) -> BaseConfig:
31
return
create_config(data=path.read_bytes(), path=path)
32
33
34
def
read_cfg(filepath: str | None = None) -> BaseConfig:
Callers
2
_resolve_config_candidates
Function · 0.85
read_cfg
Function · 0.85
Calls
1
create_config
Function · 0.90
Tested by
no test coverage detected