feat: 引入notify库以支持KPM目录的文件监控

This commit is contained in:
ShirkNeko
2025-04-07 21:40:25 +08:00
parent 2a283e6793
commit 569fffa962

View File

@@ -1,4 +1,5 @@
use anyhow::Result; use anyhow::Result;
use notify::{Watcher, RecommendedWatcher, RecursiveMode, EventKind};
use std::path::Path; use std::path::Path;
pub const KPM_DIR: &str = "/data/adb/kpm"; pub const KPM_DIR: &str = "/data/adb/kpm";