Package

fs2.io

file

Permalink

package file

Source
file.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. file
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait FileHandle[F[_]] extends AnyRef

    Permalink

Value Members

  1. object FileHandle

    Permalink
  2. object pulls

    Permalink
  3. def readAll[F[_]](path: Path, chunkSize: Int)(implicit F: Effect[F]): Stream[F, Byte]

    Permalink

    Reads all data synchronously from the file at the specified java.nio.file.Path.

  4. def readAllAsync[F[_]](path: Path, chunkSize: Int)(implicit F: Async[F], FR: Run[F]): Stream[F, Byte]

    Permalink

    Reads all data asynchronously from the file at the specified java.nio.file.Path.

  5. def writeAll[F[_]](path: Path, flags: Seq[StandardOpenOption] = List(StandardOpenOption.CREATE))(implicit F: Effect[F]): Sink[F, Byte]

    Permalink

    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.

  6. def writeAllAsync[F[_]](path: Path, flags: Seq[StandardOpenOption] = List(StandardOpenOption.CREATE))(implicit F: Async[F], FR: Run[F]): Sink[F, Byte]

    Permalink

    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.

Inherited from AnyRef

Inherited from Any

Ungrouped