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

Method getRuntimeDir

core/src/main/java/io/ddf/misc/Config.java:27–29  ·  view source on GitHub ↗

Returns the runtime basic-storage directory path name, creating one if necessary. @return @throws IOException

()

Source from the content-addressed store, hash-verified

25 * @throws IOException
26 */
27 public static String getRuntimeDir() throws IOException {
28 return Utils.locateOrCreateDirectory(getGlobalValue(ConfigConstant.FIELD_RUNTIME_DIR));
29 }
30
31 public static String getBasicPersistenceDir() throws IOException {
32 return String.format("%s/%s", getRuntimeDir(), getGlobalValue(ConfigConstant.FIELD_BASIC_PERSISTENCE_DIRECTORY));

Callers 1

Calls 2

getGlobalValueMethod · 0.95

Tested by

no test coverage detected