We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
toURI
toURL
os.Path
1 parent 6206f3c commit 5c048dbCopy full SHA for 5c048db
os/src/Path.scala
@@ -620,6 +620,8 @@ class Path private[os] (val wrapped: java.nio.file.Path)
620
621
def toIO: java.io.File = Path.pathSerializer.value.serializeFile(this)
622
def toNIO: java.nio.file.Path = Path.pathSerializer.value.serializePath(this)
623
+ def toURI: java.net.URI = toNIO.toUri
624
+ def toURL: java.net.URL = toURI.toURL
625
626
def resolveFrom(base: os.Path) = this
627
0 commit comments