Provides the ability to read/write/lock/inspect a file in the effect F
.
Provides the ability to read/write/lock/inspect a file in the effect F
.
To construct a FileHandle
, use the methods in the fs2.io.file.pulls object.
Provides various Pull
s for working with files.
Reads all data synchronously from the file at the specified java.nio.file.Path
.
Reads all data asynchronously from the file at the specified java.nio.file.Path
.
Watches a single path.
Watches a single path.
Alias for creating a watcher and watching the supplied path, releasing the watcher when the resulting stream is finalized.
Creates a Watcher for the default file system.
Creates a Watcher for the default file system.
A singleton bracketed stream is returned consisting of the single watcher. To use the watcher,
flatMap
the returned stream, watch or register 1 or more paths, and then return watcher.events()
.
singleton bracketed stream returning a watcher
Writes all data synchronously to the file at the specified java.nio.file.Path
.
Writes all data synchronously to the file at the specified java.nio.file.Path
.
Adds the WRITE flag to any other OpenOption
flags specified. By default, also adds the CREATE flag.
Writes all data asynchronously to the file at the specified java.nio.file.Path
.
Writes all data asynchronously to the file at the specified java.nio.file.Path
.
Adds the WRITE flag to any other OpenOption
flags specified. By default, also adds the CREATE flag.
Provides support for working with files.