Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baowenbo/DAIN
/ push
Method
push
Stack.py:10–11 ·
view source on GitHub ↗
(self,val)
Source
from the content-addressed store, hash-verified
8
else
:
9
return
self.stack.pop()
10
def
push(self,val):
11
return
self.stack.append(val)
12
def
peak(self):
13
if
self.is_empty():
14
return
None
Callers
2
forward_singlePath
Method · 0.95
forward_singlePath
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected