refactor: move fs-watch to fs (#369)

This commit is contained in:
Lucas Fernandes Nogueira
2023-05-17 22:50:45 -03:00
committed by GitHub
parent b064718f32
commit ac76abcebd
22 changed files with 52 additions and 1689 deletions
+4
View File
@@ -13,6 +13,10 @@ pub enum Error {
/// Invalid glob pattern.
#[error("invalid glob pattern: {0}")]
GlobPattern(#[from] glob::PatternError),
/// Watcher error.
#[cfg(feature = "watch")]
#[error(transparent)]
Watch(#[from] notify::Error),
}
impl Serialize for Error {