getSegments

fun getSegments(path: String): List<String>