You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import scalax.file.Path
val path = Path.fromString("/tmp/xxx")
path match {
case Path(pathName) => pathName
case _ => "no match"
}
// Returns "no match"
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: