MCPcopy Create free account
hub / github.com/apple/foundationdb / push

Method push

layers/containers/vector.py:138–140  ·  view source on GitHub ↗

Push a single item onto the end of the Vector.

(self, val, tr=None)

Source from the content-addressed store, hash-verified

136 return self._size(self._to_transaction(tr))
137
138 def push(self, val, tr=None):
139 """Push a single item onto the end of the Vector."""
140 self._push(val, self._to_transaction(tr))
141
142 def back(self, tr=None):
143 """Get the value of the last item in the Vector."""

Callers 2

vector_testFunction · 0.95
vector_exampleFunction · 0.95

Calls 2

_pushMethod · 0.95
_to_transactionMethod · 0.95

Tested by

no test coverage detected