Event

fs2.io.Watcher$.Event$
See theEvent companion class
object Event

Attributes

Companion
class
Source
DeprecatedWatcher.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Event.type

Members list

Type members

Classlikes

final case class Created(path: Path, count: Int) extends Event

Attributes

Source
DeprecatedWatcher.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Event
class Object
trait Matchable
class Any
Show all
final case class Deleted(path: Path, count: Int) extends Event

Attributes

Source
DeprecatedWatcher.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Event
class Object
trait Matchable
class Any
Show all
final case class Modified(path: Path, count: Int) extends Event

Attributes

Source
DeprecatedWatcher.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Event
class Object
trait Matchable
class Any
Show all
final case class NonStandard(event: WatchEvent[_], registeredDirectory: Path) extends Event

Attributes

Source
DeprecatedWatcher.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Event
class Object
trait Matchable
class Any
Show all
final case class Overflow(count: Int) extends Event

Attributes

Source
DeprecatedWatcher.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Event
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

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 parameters

e

event to convert

registeredDirectory

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

Attributes

Source
DeprecatedWatcher.scala
def pathOf(event: Event): Option[Path]

Determines the path for which the supplied event references.

Determines the path for which the supplied event references.

Attributes

Source
DeprecatedWatcher.scala