ensuring that file references get stored in content on write
ensuring that file references get stored in content on mv
ensuring that snapshot share pointer get stored in content on share_file
In Wasm Code
making share an append operation
making mv an append operation
Why:
There's no way to get around item 3
There should be a way to get around items 1 & 2 & 5 by writing said blocks explicitly to the content store. But for some reason the PrivateFile refs don't persist in wasm, even if using the same content blockstore. This needs more investigation but I have found no pattern including PrivateFile::store other than the one presented here that works correctly.
Tl;Dr
Sharing works now, but this makes share_file and mv append operations in the wasm client
Description
Fixes sharing by:
In Shared Code
In Wasm Code
append
operationappend
operationWhy:
Tl;Dr
Sharing works now, but this makes share_file and mv append operations in the wasm client