0

I would have expected this to work, but it does not.

import rapture.uri._
import rapture.io._

val file = uri"file:///testFile.txt"

It fails to compile with the following error:

not found: value File
val file = uri"file:///testFile.txt"
           ^

Am I missing something?

jedesah
  • 2,983
  • 2
  • 17
  • 29

1 Answers1

0

Turns out you also need to depend on rapture-fs like so:

libraryDependencies += "com.propensive" %% "rapture-fs" % "0.10.0"

Then import the following:

import rapture.fs._
import platform.posix
jedesah
  • 2,983
  • 2
  • 17
  • 29