ScriptGitBranchCollection¶
- class ScriptGitBranchCollection.ScriptGitBranchCollection(iterable=(), /)¶
Bases:
listWrapper class around _3S.CoDeSys.Git.GitIntegration.IGitBranchCollection.- __iter__() Iterable[ScriptGitBranch]¶
- __next__() ScriptGitBranch¶
- __str__() str¶
- __len__() int¶
- Python magic method __len__
- __contains__(branchName: str) bool¶
- Python magic method __contains__
- __getitem__(branchName: str) ScriptGitBranch¶
- Indexer
- Parameters:
branchName (str) – Name of the branch
- property current_repository_head: ScriptGitBranch¶
- Gets the branch object witch is the current head.returns null if there is no current head.