MCPcopy Create free account
hub / github.com/ddf-project/DDF / dirExists

Method dirExists

core/src/main/java/io/ddf/util/Utils.java:255–258  ·  view source on GitHub ↗

@param path @return true if "path" exists and is a directory (and not a file)

(String path)

Source from the content-addressed store, hash-verified

253 * @return true if "path" exists and is a directory (and not a file)
254 */
255 public static boolean dirExists(String path) {
256 File f = new File(path);
257 return (f.exists() && f.isDirectory());
258 }
259
260 public static double formatDouble(double number) {
261 DecimalFormat fmt = new DecimalFormat("#.##");

Callers 2

locateDirectoryMethod · 0.95
locateConfigFileNameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected