MCPcopy Create free account
hub / github.com/gitless-vcs/gitless / __init__

Method __init__

gitless/cli/helpers.py:144–146  ·  view source on GitHub ↗
(self, option_strings, dest, repo=None, **kwargs)

Source from the content-addressed store, hash-verified

142class CommitIdProcessor(argparse.Action):
143
144 def __init__(self, option_strings, dest, repo=None, **kwargs):
145 self.repo = repo
146 super(CommitIdProcessor, self).__init__(option_strings, dest, **kwargs)
147
148 def __call__(self, parser, namespace, revs, option_string=None):
149 cids = (self.repo.revparse_single(rev).id for rev in revs)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected