most done.

This commit is contained in:
2025-11-21 00:14:11 +08:00
parent 6ab9c38955
commit bd0c755370
12 changed files with 877 additions and 28 deletions

22
src/constants.rs Normal file
View File

@@ -0,0 +1,22 @@
pub const DEFAULT_BUFFER_SIZE: usize = 4 * 1024 * 1024;
pub const HEAD_115_BYTES: usize = 128 * 1024;
pub const HEAD_BAIDU_BYTES: usize = 256 * 1024;
pub const META_VERSION: &str = "2025-11-21";
pub const SKIP_DIR_NAMES: &[&str] = &[
"@Recently-Snapshot",
"@Recycle",
".@__thumb",
"@Transcode",
"meta",
"$RECYCLE.BIN",
];
pub const SKIP_FILE_NAMES: &[&str] = &[
".DS_Store",
"licsber-bak.json",
"meta.json",
"meta-old.json",
"Thumbs.db",
"desktop.ini",
];