MCPcopy Index your code
hub / github.com/Stericson/RootShell / exists

Method exists

src/main/java/com/stericson/RootShell/RootShell.java:111–113  ·  view source on GitHub ↗

Use this to check whether or not a file exists on the filesystem. @param file String that represent the file, including the full path to the file and its name. @return a boolean that will indicate whether or not the file exists.

(final String file)

Source from the content-addressed store, hash-verified

109 * @return a boolean that will indicate whether or not the file exists.
110 */
111 public static boolean exists(final String file) {
112 return exists(file, false);
113 }
114
115 /**
116 * Use this to check whether or not a file OR directory exists on the filesystem.

Callers 5

findBinaryMethod · 0.95
runMethod · 0.95
AnnotationsFinderMethod · 0.80
getPathToDxMethod · 0.80
isSELinuxEnforcingMethod · 0.80

Calls 4

getShellMethod · 0.95
commandWaitMethod · 0.95
logMethod · 0.95
addMethod · 0.80

Tested by 1

runMethod · 0.76