MCPcopy Create free account
hub / github.com/apache/ant / createNewFile

Method createNewFile

src/main/org/apache/tools/ant/util/FileUtils.java:1212–1214  ·  view source on GitHub ↗

This was originally an emulation of File.createNewFile for JDK 1.1, but it is now implemented using that method (Ant 1.6.3 onwards). This method has historically not guaranteed that the operation was atomic. In its current implementation it is. @param f the file to be created.

(File f)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

touchMethod · 0.80
validateMethod · 0.80
shouldProcessMethod · 0.80
writeJarMethod · 0.80
getTimeDiffMethod · 0.80
getTimeDiffMethod · 0.80
testurloutputMethod · 0.80
createFileMethod · 0.80
createFileMethod · 0.80
testCreateNewFileMethod · 0.80

Calls 3

mkdirsMethod · 0.80
getParentFileMethod · 0.45
existsMethod · 0.45

Tested by 4

testurloutputMethod · 0.64
createFileMethod · 0.64
createFileMethod · 0.64
testCreateNewFileMethod · 0.64