banyancomputer / banyan-cli

Banyan's client, BanyanFS+CAR encrypted filesystem packer and metadata handler.
https://banyan.computer/
MIT License
25 stars 2 forks source link

Alex/sharing link api #314

Closed amiller68 closed 10 months ago

amiller68 commented 10 months ago

Description

Fixes sharing by:

In Shared Code

  1. ensuring that file references get stored in content on write
  2. ensuring that file references get stored in content on mv
  3. ensuring that snapshot share pointer get stored in content on share_file

In Wasm Code

  1. making share an append operation
  2. making mv an append operation

Why:

Tl;Dr

Sharing works now, but this makes share_file and mv append operations in the wasm client