Skip to content

Save loaded files

Luke Champine requested to merge load into master

Binary and ASCII .sia files were not being saved to the renter directory after loading, which meant that they would be lost when siad closed. Files are now saved to disk after being loaded.

Note: this could also have been implemented by directly copying the .sia data into a single file. This would preserve the "grouping" of the original .sia file (the current implementation will create a separate .sia file for each file contained within the loaded .sia file). I wasn't sure if that behavior was desirable though.

Merge request reports