MCPcopy Index your code
hub / github.com/ipython/ipython / keys

Method keys

IPython/external/pickleshare.py:209–216  ·  view source on GitHub ↗

All keys in DB, or all keys matching a glob

(self, globpat=None)

Source from the content-addressed store, hash-verified

207 return str(p.relative_to(self.root)).replace("\\", "/")
208
209 def keys(self, globpat=None):
210 """All keys in DB, or all keys matching a glob"""
211
212 if globpat is None:
213 files = self.root.rglob("*")
214 else:
215 files = self.root.glob(globpat)
216 return [self._normalized(p) for p in files if p.is_file()]
217
218 def __iter__(self):
219 return iter(self.keys())

Callers 15

hdictMethod · 0.95
hcompressMethod · 0.95
__iter__Method · 0.95
__len__Method · 0.95
ask_yes_noFunction · 0.80
__isub__Method · 0.80
mergeMethod · 0.80
mainloopMethod · 0.80
set_qt_apiFunction · 0.80
do_skip_predicatesMethod · 0.80
init_codeMethod · 0.80
resetMethod · 0.80

Calls 1

_normalizedMethod · 0.95