Expand description
Branching model configurations.
In this module you will find functions to read and write branching model configurations on disk.
The branching models themselves are defined in module settings
Functionsยง
- create_
config - Creates the directory
APP_DATA/git-graph/modelsif it does not exist, and writes the files for built-in branching models there. - get_
available_ models - Get models available in
APP_DATA/git-graph/models. - get_
model - Try to get the branch settings for a given model. If no model name is given, returns the branch settings set for the repo, or the default otherwise.
- get_
model_ name - Get the currently set branching model for a repo.
- set_
model - Permanently sets the branching model for a repository