most done.
This commit is contained in:
22
src/constants.rs
Normal file
22
src/constants.rs
Normal 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",
|
||||
];
|
||||
Reference in New Issue
Block a user