MCPcopy Create free account
hub / github.com/cztomczak/cefpython / read_branch_config_file

Function read_branch_config_file

tools/automate-git.py:363–370  ·  view source on GitHub ↗

Read the CEF branch from the specified path.

(path)

Source from the content-addressed store, hash-verified

361
362
363def read_branch_config_file(path):
364 """ Read the CEF branch from the specified path. """
365 config_file = os.path.join(path, 'cef.branch')
366 if os.path.isfile(config_file):
367 contents = read_config_file(config_file)
368 if 'branch' in contents:
369 return contents['branch']
370 return ''
371
372
373def write_branch_config_file(path, branch):

Callers 1

automate-git.pyFile · 0.85

Calls 1

read_config_fileFunction · 0.85

Tested by

no test coverage detected