Skip to content

Commit 9f3bb6b

Browse files
committed
Renamed is_unlink to is_deletion
1 parent d35aa7c commit 9f3bb6b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

fact/src/event/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ impl Event {
138138
matches!(self.file, FileData::RmDir(_))
139139
}
140140

141-
pub fn is_unlink(&self) -> bool {
141+
pub fn is_deletion(&self) -> bool {
142142
matches!(self.file, FileData::Unlink(_) | FileData::RmDir(_))
143143
}
144144

fact/src/host_scanner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ impl HostScanner {
291291
}
292292

293293
// Remove inode from the map
294-
if event.is_unlink() {
294+
if event.is_deletion() {
295295
self.handle_unlink_event(&event);
296296
}
297297

0 commit comments

Comments
 (0)