(Object path2)
| 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)) { |
no outgoing calls
no test coverage detected