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

Method __init__

gitless/cli/helpers.py:104–111  ·  view source on GitHub ↗
(
      self, option_strings, dest, repo=None, skip_dir_test=None,
      skip_dir_cb=None, recursive=True, **kwargs)

Source from the content-addressed store, hash-verified

102class PathProcessor(argparse.Action):
103
104 def __init__(
105 self, option_strings, dest, repo=None, skip_dir_test=None,
106 skip_dir_cb=None, recursive=True, **kwargs):
107 self.repo = repo
108 self.skip_dir_test = skip_dir_test
109 self.skip_dir_cb = skip_dir_cb
110 self.recursive = recursive
111 super(PathProcessor, self).__init__(option_strings, dest, **kwargs)
112
113 def __call__(self, parser, namespace, paths, option_string=None):
114 root = self.repo.root if self.repo else ''

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected