MCPcopy Create free account
hub / github.com/Card-Forge/forge / doesFileExist

Method doesFileExist

forge-core/src/main/java/forge/util/FileUtil.java:68–71  ·  view source on GitHub ↗

doesFileExist. @param filename a java.lang.String object. @return a boolean.

(final String filename)

Source from the content-addressed store, hash-verified

66 * @return a boolean.
67 */
68 public static boolean doesFileExist(final String filename) {
69 final File f = new File(filename);
70 return f.exists();
71 }
72
73 public static boolean isDirectoryWithFiles(final String path) {
74 if (path == null) return false;

Callers 12

createMethod · 0.95
drawMethod · 0.95
newQuestMethod · 0.95
initForgeMethod · 0.95
ForgeConstantsClass · 0.95
promptForNameMethod · 0.95
loadPuzzlesMethod · 0.95
loadCategoriesMethod · 0.95
createLayeredImageMethod · 0.95
getReleaseNotesMethod · 0.95
getFileMethod · 0.95
getAbsoluteFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected