Gate same_file import on non-Windows

This commit is contained in:
thePR0M3TH3AN
2025-05-24 22:27:13 -04:00
parent 78b110f95c
commit db1d8fa841

View File

@@ -13,6 +13,7 @@ use notify::{
event::{ModifyKind, RemoveKind, RenameMode},
Event, EventKind, RecommendedWatcher, RecursiveMode, Watcher as NotifyWatcherTrait,
};
#[cfg(not(windows))]
use same_file::Handle;
use std::collections::HashMap;
use std::path::PathBuf;