MCPcopy Create free account
hub / github.com/badvision/jace / getMediaLibraryFolder

Method getMediaLibraryFolder

src/main/java/jace/library/MediaCache.java:165–175  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163 }
164
165 public static File getMediaLibraryFolder() {
166 String userHome = System.getProperty("user.home");
167 if (userHome == null || userHome.equals("")) {
168 userHome = ".";
169 }
170 File f = new File(new File(userHome, ".jace"), "mediaLibrary");
171 if (!f.exists()) {
172 f.mkdirs();
173 }
174 return f;
175 }
176
177 // Remove file(s) associated with media entry
178 private void removeFiles(MediaEntry e) {

Callers 3

createBlankFileMethod · 0.95
getTempDirectoryMethod · 0.95
getMediaLibaryCatalogMethod · 0.95

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected