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

Method __call__

gitless/cli/helpers.py:148–150  ·  view source on GitHub ↗
(self, parser, namespace, revs, option_string=None)

Source from the content-addressed store, hash-verified

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)
150 setattr(namespace, self.dest, cids)
151
152
153def oei_flags(subparsers, repo):

Callers

nothing calls this directly

Calls 1

revparse_singleMethod · 0.80

Tested by

no test coverage detected