Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scala-io-file-0.4.1-seq: Matcher of Path as String doesn't work for me #85

Open
ysae opened this issue Apr 19, 2013 · 0 comments
Open

Comments

@ysae
Copy link

ysae commented Apr 19, 2013

It's not critical because Path.path could be used to obtain path string.
But the matcher from example:
http://jesseeichar.github.io/scala-io-doc/0.4.1-seq/index.html#!/file/match_full_path_as_string

import scalax.file.Path
val path = Path.fromString("/tmp/xxx")
path match {
  case Path(pathName) => pathName
  case _ => "no match"
}
// Returns "no match"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant