Standard Path Operations

Comparison and queryoperations as well as making new paths relative to a base path

Name And Path

obtains name and path information
    import scalax.file.Path

    val path: Path = Path("file")

    val name: String = path.name
    val pathString: String = path.path
    val segments = path.segments
    val absolute: Boolean = path.isAbsolute
    val absolutePath: Path = path.toAbsolute

    val pathSegments: List[String] = path.segments