MCPcopy Index your code
hub / github.com/idank/explainshell / peek

Method peek

explainshell/util.py:73–79  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

71 return False
72
73 def peek(self):
74 if self._peeked:
75 return self._peek_value
76 else:
77 self._peek_value = next(self.it)
78 self._peeked = True
79 return self._peek_value
80
81 @property
82 def index(self):

Callers 2

has_nextMethod · 0.95
explain_cmdFunction · 0.95

Calls 1

nextFunction · 0.50

Tested by

no test coverage detected