MCPcopy
hub / github.com/GitGuardian/ggshield / add

Method add

tests/repository.py:43–44  ·  view source on GitHub ↗
(self, *args: Union[str, Path])

Source from the content-addressed store, hash-verified

41 return cls(path, remote_url=str(url))
42
43 def add(self, *args: Union[str, Path]):
44 self.git("add", *args)
45
46 def push(self, *args: str) -> None:
47 self.git("push", *args)

Callers 15

test_list_files_git_repoFunction · 0.45
scenario_addFunction · 0.45
scenario_add_twoFunction · 0.45
scenario_modifyFunction · 0.45
scenario_removeFunction · 0.45
scenario_renameFunction · 0.45
scenario_chmodFunction · 0.45

Calls 1

gitMethod · 0.95

Tested by 15

test_list_files_git_repoFunction · 0.36
scenario_addFunction · 0.36
scenario_add_twoFunction · 0.36
scenario_modifyFunction · 0.36
scenario_removeFunction · 0.36
scenario_renameFunction · 0.36
scenario_chmodFunction · 0.36