Package

quasar.contrib

pathy

Permalink

package pathy

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. pathy
  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 = Path[Abs, Any, Sandboxed]

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

    Permalink
  5. type DPath = Path[Any, Dir, Sandboxed]

    Permalink
  6. type DirPath[B] = Path[B, Dir, Sandboxed]

    Permalink
  7. type FPath = Path[Any, File, Sandboxed]

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

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

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

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

    Permalink
  12. type RPath = Path[Rel, Any, Sandboxed]

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

    Permalink

Value Members

  1. object APath

    Permalink
  2. implicit val DirNameOrder: Order[DirName]

    Permalink
  3. implicit val FileNameOrder: Order[FileName]

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

    Permalink

    Returns the first named segment of the given relative path.

  5. implicit def liftDirName(x: DirName): PathSegment

    Permalink
  6. implicit def liftFileName(x: FileName): PathSegment

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

    Permalink
  8. def pathName(p: APath): Predef.Option[PathSegment]

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

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

    Permalink

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

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

    Permalink
    Annotations
    @SuppressWarnings()
  12. 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()
  13. def sandboxCurrent[A, T](path: Path[A, T, Unsandboxed]): Predef.Option[Path[A, T, Sandboxed]]

    Permalink
    Annotations
    @SuppressWarnings()
  14. def stripPrefixA(prefix: ADir): ~>[AbsPath, AbsPath]

    Permalink

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

Inherited from AnyRef

Inherited from Any

Ungrouped