io.methvin.better.files.RecursiveFileMonitor
abstract class RecursiveFileMonitor(val root: File, val fileHasher: Option[FileHasher], val logger: Logger) extends Monitor An implementation of the better-files File.Monitor
interface using directory-watcher.
Attributes
- fileHasher
a hasher implementation used to hash files to prevent duplicate events. None
to disable
hashing.
- logger
the logger used by DirectoryWatcher
. Useful to see debug output. Defaults to nop logger.
- root
the root directory to watch
- Graph
- Supertypes
trait Monitor
trait AutoCloseable
class Object
trait Matchable
class Any
Members list
Concise view
Value members
Attributes
- Definition Classes
AutoCloseable
Attributes
- Definition Classes
Monitor
Attributes
- Definition Classes
Monitor
Attributes
- Definition Classes
Monitor
Attributes
- Definition Classes
Monitor
Attributes
- Definition Classes
Monitor
Attributes
- Definition Classes
Monitor
Dispatch a StandardWatchEventKind to an appropriate callback
Override this if you don't want to manually handle onDelete/onCreate/onModify separately
Dispatch a StandardWatchEventKind to an appropriate callback
Override this if you don't want to manually handle onDelete/onCreate/onModify separately
Attributes
- Inherited from:
- Monitor
Attributes
- Inherited from:
- Monitor