object WriteCursor
- Companion
- class
trait Product
trait Mirror
class Object
trait Matchable
class Any
Type members
Value members
Concrete methods
@nowarn("cat=unused-params")
def fromFileHandle[F[_]](file: FileHandle[F], append: Boolean)(`evidence$4`: Sync[F], `evidence$5`: ContextShift[F]): F[WriteCursor[F]]
Returns a WriteCursor
for the specified file handle.
Returns a WriteCursor
for the specified file handle.
If append
is true, the offset is initialized to the current size of the file.
def fromPath[F[_]](path: Path, blocker: Blocker, flags: Seq[OpenOption])(`evidence$2`: Sync[F], `evidence$3`: ContextShift[F]): Resource[F, WriteCursor[F]]
Returns a WriteCursor
for the specified path.
Returns a WriteCursor
for the specified path.
The WRITE
option is added to the supplied flags. If the APPEND
option is present in flags
,
the offset is initialized to the current size of the file.