← Docs
kotlin-stdlib / kotlin.io.path / java.nio.file.Path / div

div

JVM
JRE7
1.5
operator fun Path . div ( other : Path ) : Path
(source)

Resolves the given other path against this path.

This operator is a shortcut for the Path.resolve function.

JVM
JRE7
1.5
operator fun Path . div ( other : String ) : Path
(source)

Resolves the given other path string against this path.

This operator is a shortcut for the Path.resolve function.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .