Skip to content

A type-safe abstraction for platform-independent file system paths.

License

Notifications You must be signed in to change notification settings

precog/scala-pathy

Repository files navigation

Build Status

pathy

A type-safe abstraction for platform-independent file system paths.

Ported from purescript-pathy.

Example

val fullPath = rootDir </> dir("baz") </> file("foo.png")

See the examples file for more.

Getting Started

Installation

pathy is cross-built against Scala 2.10.x and 2.11.x.

If you're using SBT, add the following to your build file

libraryDependencies += "com.slamdata" %% "pathy" % "0.0.1-SNAPSHOT"

Usage

The following imports will bring all types and operations into scope

import pathy._, Path._

About

A type-safe abstraction for platform-independent file system paths.

Resources

License

Stars

Watchers

Forks

Packages