pathy


License

License

Categories

Categories

Data
GroupId

GroupId

com.slamdata
ArtifactId

ArtifactId

pathy_2.10
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

pathy
pathy
Project URL

Project URL

https://github.com/slamdata/scala-pathy
Project Organization

Project Organization

SlamData Inc.
Source Code Management

Source Code Management

https://github.com/slamdata/scala-pathy

Download pathy_2.10

How to add to project

<!-- https://jarcasting.com/artifacts/com.slamdata/pathy_2.10/ -->
<dependency>
    <groupId>com.slamdata</groupId>
    <artifactId>pathy_2.10</artifactId>
    <version>0.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.slamdata/pathy_2.10/
implementation 'com.slamdata:pathy_2.10:0.0.2'
// https://jarcasting.com/artifacts/com.slamdata/pathy_2.10/
implementation ("com.slamdata:pathy_2.10:0.0.2")
'com.slamdata:pathy_2.10:jar:0.0.2'
<dependency org="com.slamdata" name="pathy_2.10" rev="0.0.2">
  <artifact name="pathy_2.10" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.slamdata', module='pathy_2.10', version='0.0.2')
)
libraryDependencies += "com.slamdata" % "pathy_2.10" % "0.0.2"
[com.slamdata/pathy_2.10 "0.0.2"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.10.5
org.scalaz : scalaz-core_2.10 jar 7.1.0

test (3)

Group / Artifact Type Version
org.specs2 : specs2-core_2.10 jar 3.6.4
org.specs2 : specs2-scalacheck_2.10 jar 3.6.4
org.scalacheck : scalacheck_2.10 jar 1.12.5

Project Modules

There are no modules declared in this project.

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._
com.slamdata

SlamData, Inc.

Versions

Version
0.0.2