Method
saveBox
(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
Tested by
no test coverage detected