MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / checkPath

Method checkPath

ij/src/main/java/ij/macro/Functions.java:4624–4631  ·  view source on GitHub ↗
(File f)

Source from the content-addressed store, hash-verified

4622 }
4623
4624 boolean checkPath(File f) {
4625 String path = f.getPath();
4626 if (path.equals("0") || path.equals("NaN")) {
4627 interp.error("Invalid path");
4628 return false;
4629 } else
4630 return true;
4631 }
4632
4633 String openDialog() {
4634 String title = getStringArg();

Callers 1

doFileMethod · 0.95

Calls 3

getPathMethod · 0.45
equalsMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected