MCPcopy Create free account
hub / github.com/demoth/jake2 / FileExists

Method FileExists

qcommon/src/main/java/jake2/qcommon/filesystem/FS.java:195–205  ·  view source on GitHub ↗
(String filename)

Source from the content-addressed store, hash-verified

193 }
194
195 public static boolean FileExists(String filename) {
196 try {
197 RandomAccessFile raf = FOpenFile(filename);
198 if (raf != null) {
199 raf.close();
200 return true;
201 } else return false;
202 } catch (Exception e) {
203 return false;
204 }
205 }
206
207 /**
208 * FOpenFile

Callers 2

CheckOrDownloadFileMethod · 0.95
RegisterSexedSoundMethod · 0.95

Calls 1

FOpenFileMethod · 0.95

Tested by

no test coverage detected