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

Function is_git_checkout

tools/automate-git.py:242–244  ·  view source on GitHub ↗

Returns true if the path represents a git checkout.

(path)

Source from the content-addressed store, hash-verified

240
241
242def is_git_checkout(path):
243 """ Returns true if the path represents a git checkout. """
244 return os.path.exists(os.path.join(path, '.git'))
245
246
247def exec_cmd(cmd, path):

Callers 1

automate-git.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected