MCPcopy Create free account
hub / github.com/apache/arrow / git_cmd

Function git_cmd

dev/archery/archery/utils/git.py:24–30  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

22# Decorator prepending argv with the git sub-command found with the method
23# name.
24def git_cmd(fn):
25 # function name is the subcommand
26 sub_cmd = fn.__name__.replace("_", "-")
27
28 def wrapper(self, *argv, **kwargs):
29 return fn(self, sub_cmd, *argv, **kwargs)
30 return wrapper
31
32
33class Git(Command):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected