add print file size

This commit is contained in:
nikola
2024-06-20 02:32:19 +02:00
parent 31e9935511
commit 1cbf1628a3
3 changed files with 15 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ enum class Arg
Username, // update username
Name, // update label name
File, // select save file
Size // show size of file
};
Arg get_args(int argc, char **argv, char **label);
@@ -45,4 +46,6 @@ void arg_show(Buffer &decrypted_buffer, const char *label);
void arg_file(Buffer &decrypted_buffer, Buffer &encrypted_buffer, const char *label, Cryptography &crypto, std::string &save_location_path);
void arg_size(Buffer &encrypted_buffer);
#endif