OpenQuizz
Une application de gestion des contenus pédagogiques
git.objects.submodule.util Namespace Reference

Data Structures

class  SubmoduleConfigParser
 

Functions

def sm_section (name)
 
def sm_name (section)
 
def mkhead (repo, path)
 
def find_first_remote_branch (remotes, branch_name)
 

Function Documentation

◆ find_first_remote_branch()

def git.objects.submodule.util.find_first_remote_branch (   remotes,
  branch_name 
)
Find the remote branch matching the name of the given branch or raise InvalidGitRepositoryError

◆ mkhead()

def git.objects.submodule.util.mkhead (   repo,
  path 
)
:return: New branch/head instance

◆ sm_name()

def git.objects.submodule.util.sm_name (   section)
:return: name of the submodule as parsed from the section name

◆ sm_section()

def git.objects.submodule.util.sm_section (   name)
:return: section title used in .gitmodules configuration file