FileHandle

object FileHandle
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def fromFileChannel[F[_]](channel: F[FileChannel], blocker: Blocker)(F: Sync[F], cs: ContextShift[F]): Resource[F, FileHandle[F]]

Creates a FileHandle for the supplied FileChannel.

Creates a FileHandle for the supplied FileChannel.

def fromPath[F[_]](path: Path, blocker: Blocker, flags: Seq[OpenOption])(F: Sync[F], cs: ContextShift[F]): Resource[F, FileHandle[F]]

Creates a FileHandle for the file at the supplied Path.

Creates a FileHandle for the file at the supplied Path.