Package

quasar

fs

Permalink

package fs

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. fs
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ADir = Path[Abs, Dir, Sandboxed]

    Permalink
  2. type AFile = Path[Abs, File, Sandboxed]

    Permalink
  3. type APath = AbsPath[_]

    Permalink
  4. type AbsPath[T] = Path[Abs, T, Sandboxed]

    Permalink
  5. type DPath = DirPath[_]

    Permalink
  6. trait DataCursor[F[_], C] extends AnyRef

    Permalink

    Typeclass representing the interface to a effectful cursor of Data.

    Typeclass representing the interface to a effectful cursor of Data.

    Laws

    1. close(c) *> nextChunk(c) must return an empty Vector.
  7. type DirPath[B] = Path[B, Dir, Sandboxed]

    Permalink
  8. final case class ExecutionPlan(typ: FileSystemType, description: String) extends Product with Serializable

    Permalink
  9. type FPath = FilePath[_]

    Permalink
  10. type FilePath[B] = Path[B, File, Sandboxed]

    Permalink
  11. type FileSystem[A] = Coproduct[QueryFile, FileSystem1, A]

    Permalink
  12. type FileSystem0[A] = Coproduct[WriteFile, ManageFile, A]

    Permalink
  13. type FileSystem1[A] = Coproduct[ReadFile, FileSystem0, A]

    Permalink
  14. type FileSystemErrT[F[_], A] = EitherT[F, FileSystemError, A]

    Permalink
  15. sealed trait FileSystemError extends AnyRef

    Permalink
  16. type FileSystemFailure[A] = Failure[FileSystemError, A]

    Permalink
  17. final case class FileSystemType(value: String) extends AnyVal with Product with Serializable

    Permalink
  18. sealed trait ManageFile[A] extends AnyRef

    Permalink
  19. sealed trait PathError extends AnyRef

    Permalink
  20. type PathSegment = \/[DirName, FileName]

    Permalink
  21. sealed trait QueryFile[A] extends AnyRef

    Permalink
  22. type RDir = Path[Rel, Dir, Sandboxed]

    Permalink
  23. type RFile = Path[Rel, File, Sandboxed]

    Permalink
  24. type RPath = RelPath[_]

    Permalink
  25. sealed trait ReadFile[A] extends AnyRef

    Permalink
  26. type RelPath[T] = Path[Rel, T, Sandboxed]

    Permalink
  27. final case class WriteError(value: Data, hint: Option[String]) extends Product with Serializable

    Permalink
  28. sealed trait WriteFile[A] extends AnyRef

    Permalink

Value Members

  1. object DataCursor

    Permalink
  2. object Empty

    Permalink

    FileSystem interpreters for a filesystem that has no, and doesn't support creating any, files.

  3. object ExecutionPlan extends Serializable

    Permalink
  4. object FileSystemError

    Permalink
  5. object FileSystemType extends Serializable

    Permalink
  6. object InMemory

    Permalink

    In-Memory FileSystem interpreters, useful for testing/stubbing when a "real" interpreter isn't needed or desired.

    In-Memory FileSystem interpreters, useful for testing/stubbing when a "real" interpreter isn't needed or desired.

    NB: Since this is in-memory, careful with writing large amounts of data to the file system.

  7. object ManageFile

    Permalink
  8. object PathError

    Permalink
  9. object PathyCodecJson

    Permalink
  10. object QueryFile

    Permalink
  11. object ReadFile

    Permalink
  12. object SandboxedPathy

    Permalink

    Use with care.

    Use with care. Functions make the assumption that Sandboxed Pathy paths do not contain ParentIn or Current. This can not currently be guaranteed.

  13. object WriteError extends Serializable

    Permalink
  14. object WriteFile

    Permalink
  15. object chroot

    Permalink
  16. def firstSegmentName(f: RPath): Option[PathSegment]

    Permalink

    Returns the first named segment of the given relative path.

  17. def interpretFileSystem[M[_]](q: ~>[QueryFile, M], r: ~>[ReadFile, M], w: ~>[WriteFile, M], m: ~>[ManageFile, M]): ~>[FileSystem, M]

    Permalink
  18. def mkAbsolute[T, S](baseDir: AbsDir[S], path: Path[_, T, S]): Path[Abs, T, S]

    Permalink
  19. package mount

    Permalink
  20. object mounted

    Permalink
  21. def prettyPrint(path: Path[_, _, _]): String

    Permalink
  22. def rebaseA(onto: ADir): ~>[AbsPath, AbsPath]

    Permalink

    Rebases absolute paths onto the provided absolute directory, so rebaseA(/baz)(/foo/bar) becomes /baz/foo/bar.

  23. def refineTypeAbs[T, S](path: Path[_, T, S]): \/[Path[Abs, T, S], Path[Rel, T, S]]

    Permalink
  24. def sandboxAbs[T, S](apath: Path[Abs, T, S]): Path[Abs, T, Sandboxed]

    Permalink

    Sandboxes an absolute path, needed due to parsing functions producing unsandboxed paths.

    Sandboxes an absolute path, needed due to parsing functions producing unsandboxed paths.

    TODO[pathy]: We know this can't fail, remove once Pathy is refactored to be more precise

    Annotations
    @SuppressWarnings()
  25. def sandboxCurrent[A, T](path: Path[A, T, Unsandboxed]): Option[Path[A, T, Sandboxed]]

    Permalink
  26. def stripPrefixA(prefix: ADir): ~>[AbsPath, AbsPath]

    Permalink

    Removes the given prefix from an absolute path, if present.

  27. object transformPaths

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped