Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gitless-vcs/gitless
/ __getitem__
Method
__getitem__
gitless/core.py:419–420 ·
view source on GitHub ↗
(self, name)
Source
from the content-addressed store, hash-verified
417
return
(Remote(r, self.gl_repo)
for
r in self.git_remote_collection)
418
419
def
__getitem__(self, name):
420
return
Remote(self.git_remote_collection.__getitem__(name), self.gl_repo)
421
422
def
__contains__(self, name):
423
try
:
Callers
1
__contains__
Method · 0.80
Calls
1
Remote
Class · 0.85
Tested by
no test coverage detected