fs2-io
fs2-io
fs2
fs2.io
fs2.io.file
fs2.io.tcp
fs2.io.tls
fs2.io.udp
fs2-io
/
fs2.io
/
Watcher$
/
Event$
Event
object
Event
Companion
class
Graph
Super types
trait
Sum
trait
Mirror
class
Object
trait
Matchable
class
Any
Type members
Value members
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
Overflow
(count:
Int
) extends
Event
final case
class
NonStandard
(event:
WatchEvent
[], registeredDirectory:
Path
) extends
Event
Inherited types
type
MirroredLabel
<:
String
The name of the type
Inhertied from
Mirror
type
MirroredElemLabels
<:
Tuple
The names of the product elements
Inhertied from
Mirror
Value members
Methods
def
fromWatchEvent
(e:
WatchEvent
[], registeredDirectory:
Path
):
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
def
pathOf
(event:
Event
):
Option
[
Path
]
Determines the path for which the supplied event references.