MCPcopy Index your code
hub / github.com/ccxt/ccxt / ioFileExists

Method ioFileExists

java/tests/src/main/java/tests/BaseTest.java:631–643  ·  view source on GitHub ↗
(Object path2)

Source from the content-addressed store, hash-verified

629 }
630
631 public static boolean ioFileExists(Object path2) {
632 if (!(path2 instanceof String)) {
633 return false;
634 }
635
636 String path = (String) path2;
637
638 try {
639 return Files.exists(Path.of(path));
640 } catch (Exception e) {
641 return false;
642 }
643 }
644
645 public static Object ioDirRead(Object path2) {
646 if (!(path2 instanceof String)) {

Callers 2

expandSettingsMethod · 0.80
loadStaticDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected