Add QR codes, link expiry, password protection, previews, audit trail and bulk operations
This commit is contained in:
1 parent
157aa81252
commit
bcbcc90d98
88 files changed
+5354
-815
No files matched your search
+6
-1
@@ -30,7 +30,12 @@ pub fn get_db_file_info(data_dir: &Path) -> String {
|
||||
if path.exists() {
|
||||
if let Ok(metadata) = std::fs::metadata(&path) {
|
||||
let size = metadata.len();
|
||||
stats.push_str(&format!("{}: {} bytes ({:.2} MB)\n", name, size, size as f64 / 1_048_576.0));
|
||||
stats.push_str(&format!(
|
||||
"{}: {} bytes ({:.2} MB)\n",
|
||||
name,
|
||||
size,
|
||||
size as f64 / 1_048_576.0
|
||||
));
|
||||
}
|
||||
} else {
|
||||
stats.push_str(&format!("{}: File not created yet\n", name));
|
||||
|
||||
Reference in new issue
Block a user