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

Method remove_token_from_url

modelscope/hub/git.py:65–66  ·  view source on GitHub ↗
(self, url: str)

Source from the content-addressed store, hash-verified

63 return _GitCommand._inject_token(url, git_token)
64
65 def remove_token_from_url(self, url: str) -> str:
66 return _GitCommand.strip_token_from_url(url)
67
68 # ------------------------------------------------------------------
69 # LFS

Callers 2

_clone_if_neededFunction · 0.80
pushMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected