mark as deleted and zero content on deletion instead of shifting everything
This commit is contained in:
@@ -10,6 +10,7 @@ constexpr u64 AFTER_HEADER_OFFSET = 68;
|
||||
|
||||
// !!! REMEMBER TO UPDATE entry_total_size IN Vault::delete_file
|
||||
struct FileHeader {
|
||||
bool deleted;
|
||||
u64 name_ciphertext_size;
|
||||
std::string name;
|
||||
u64 content_ciphertext_size;
|
||||
|
||||
Reference in New Issue
Block a user