hmmm - i was thinking about how to best add the NFS-capabilities to pySafe …
if i’m not mistaken the only advantage of using the NFS interface is that there is a file-datatype
uint64_t size; int64_t created_sec; uint32_t created_nsec; int64_t modified_sec; uint32_t modified_nsec; uint8_t* user_metadata_ptr; uintptr_t user_metadata_len; uintptr_t user_metadata_cap; XorNameArray data_map_name; } File;
so it’s basically an immutable data with additional metadata;
a ‘directory’ is just a mutable data and the keys in it probably are the filenames that link to the file objects …?
since i need to manage my directories/mutables then myself anyway (i didn’t see a way to create directories in the api?) i’m not even sure how the plan here was to operate the NFS …?
should i stop thinking because everything will change anyway …? or should i implement the current interface because just the stuff under the hood will change?