MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / delete

Method delete

CodenameOne/src/com/codename1/io/File.java:255–258  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253 ///
254 /// True if delete succeeds.
255 public boolean delete() {
256 FileSystemStorage.getInstance().delete(path);
257 return !FileSystemStorage.getInstance().exists(path);
258 }
259
260 /// Returns the list of child files of this directory.
261 public String[] list() {

Callers 2

optimizeMethod · 0.95
syncDirectoriesMethod · 0.95

Calls 3

getInstanceMethod · 0.95
deleteMethod · 0.65
existsMethod · 0.65

Tested by

no test coverage detected