WriteCursor
object WriteCursor
- Companion
- class
trait Product
trait Mirror
class Object
trait Matchable
class Any
Type members
Value members
Methods
def fromPath[F <: ([_$4] =>> Any)](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.The
the offset is initialized to the current size of the file.
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.
def fromFileHandle[F <: ([_$5] =>> Any)](file: FileHandle[F], append: Boolean)(evidence$4: Sync[F], evidence$5: ContextShift[F]): F[WriteCursor[F]]
Returns a
WriteCursor
for the specified file handle.If
append
is true, the offset is initialized to the current size of the file.