cryogenian / scala-pathy

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:Apache License 2.0


Languages

Language:Scala 69.1%Language:Shell 30.9%