MCPcopy Create free account
hub / github.com/modelscope/modelscope / pull

Method pull

modelscope/hub/git.py:130–134  ·  view source on GitHub ↗
(self,
             repo_dir: str,
             remote: str = 'origin',
             branch: str = 'master')

Source from the content-addressed store, hash-verified

128 raise GitError(str(exc)) from exc
129
130 def pull(self,
131 repo_dir: str,
132 remote: str = 'origin',
133 branch: str = 'master'):
134 return self._run_git_command('-C', repo_dir, 'pull', remote, branch)
135
136 def push(self,
137 repo_dir: str,

Callers

nothing calls this directly

Calls 1

_run_git_commandMethod · 0.95

Tested by

no test coverage detected