MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / saveBox

Method saveBox

src/main/java/fieldbox/io/Raft.java:245–253  ·  view source on GitHub ↗
(Box x, Function<Box, String> alias, Predicate<Box> save)

Source from the content-addressed store, hash-verified

243
244
245 public Node saveBox(Box x, Function<Box, String> alias, Predicate<Box> save) throws IOException {
246 insideSave.clear();
247 try {
248 Node v = _saveBox(x, alias, save);
249 return v;
250 } finally {
251 insideSave.clear();
252 }
253 }
254
255 protected Node _saveBox(Box x, Function<Box, String> alias, Predicate<Box> save) throws IOException {
256

Callers

nothing calls this directly

Calls 2

_saveBoxMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected