MCPcopy Create free account
hub / github.com/Rukey7/MvpApp / writeFile

Method writeFile

app/src/main/java/com/dl7/mvp/utils/FileUtils.java:101–117  ·  view source on GitHub ↗

write file @param filePath @param content @param append is append, if true, write to the end of file, else clear content of file and write into it @return return false if content is empty, true otherwise @throws RuntimeException if an error occurs while operator FileWriter

(String filePath, String content, boolean append)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

copyFileMethod · 0.95

Calls 6

isEmptyMethod · 0.95
makeDirsMethod · 0.95
closeMethod · 0.95
isEmptyMethod · 0.95
writeMethod · 0.80
readMethod · 0.80

Tested by

no test coverage detected