fun fileExists()

in src/main/kotlin/com/uber/nanoscope/Adb.kt [46:49]


        fun fileExists(path: String): Boolean {
            val output = "[ ! -e \"$path\" ]; echo $?".adbShell().inputStream.bufferedReader().readText().trim()
            return output == "1"
        }