Packages

  • package root
    Definition Classes
    root
  • package fs2
    Definition Classes
    root
  • package io

    Provides various ways to work with streams that perform IO.

    Provides various ways to work with streams that perform IO.

    Definition Classes
    fs2
  • package file

    Provides support for working with files.

    Provides support for working with files.

    Definition Classes
    io
  • FileHandle
  • pulls
  • package tcp

    Provides support for TCP networking.

    Provides support for TCP networking.

    Definition Classes
    io
  • package udp

    Provides support for UDP networking.

    Provides support for UDP networking.

    Definition Classes
    io
p

fs2.io

file

package file

Provides support for working with files.

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

    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.

Value Members

  1. def readAll[F[_]](path: Path, chunkSize: Int)(implicit arg0: Suspendable[F]): Stream[F, Byte]

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

  2. def readAllAsync[F[_]](path: Path, chunkSize: Int, executorService: Option[ExecutorService] = None)(implicit F: Async[F]): Stream[F, Byte]

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

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

    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.

  4. def writeAllAsync[F[_]](path: Path, flags: Seq[StandardOpenOption] = List(StandardOpenOption.CREATE), executorService: Option[ExecutorService] = None)(implicit F: Async[F]): Sink[F, Byte]

    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.

  5. object pulls

    Provides various Pulls for working with files.

Inherited from AnyRef

Inherited from Any

Ungrouped