MCPcopy Index your code
hub / github.com/StackStorm/st2 / git_rm

Function git_rm

tools/json2yaml.py:64–71  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

62
63
64def git_rm(filename):
65 try:
66 subprocess.check_call(["git", "rm", filename])
67 except subprocess.CalledProcessError:
68 PRINT("Failed to git rm {}".format(filename))
69 traceback.print_exc()
70 return (False, filename)
71 return (True, filename)
72
73
74def main(dir_, skip_convert):

Callers 1

mainFunction · 0.85

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected