mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
Move ImfsEvent into its own module
This commit is contained in:
parent
bcf4fea598
commit
1737da9c1f
6 changed files with 17 additions and 7 deletions
|
|
@ -5,15 +5,14 @@ use std::{
|
|||
|
||||
use crossbeam_channel::Receiver;
|
||||
|
||||
use super::event::ImfsEvent;
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
pub enum FileType {
|
||||
File,
|
||||
Directory,
|
||||
}
|
||||
|
||||
// TODO: Use our own event type instead of notify's.
|
||||
pub type ImfsEvent = notify::DebouncedEvent;
|
||||
|
||||
/// The generic interface that `Imfs` uses to lazily read files from the disk.
|
||||
/// In tests, it's stubbed out to do different versions of absolutely nothing
|
||||
/// depending on the test.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue