Event

object Event
Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

final case
class Created(path: Path, count: Int) extends Event
final case
class Deleted(path: Path, count: Int) extends Event
final case
class Modified(path: Path, count: Int) extends Event
final case
class NonStandard(event: WatchEvent[_], registeredDirectory: Path) extends Event
final case
class Overflow(count: Int) extends Event

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def fromWatchEvent(e: WatchEvent[_], registeredDirectory: Path): Event

Converts a NIO WatchEvent to an FS2 Watcher.Event.

Converts a NIO WatchEvent to an FS2 Watcher.Event.

Value Params
e

event to convert

registeredDirectory

path of the directory for which the event's path is relative