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

Method findLocalEntry

src/main/java/jace/library/MediaCache.java:442–448  ·  view source on GitHub ↗
(MediaEntry e)

Source from the content-addressed store, hash-verified

440 }
441
442 public MediaEntry findLocalEntry(MediaEntry e) {
443 for (MediaEntry entry : getLocalLibrary().mediaLookup.values()) {
444 if (entry.source.equals(e.source))
445 return entry;
446 }
447 return null;
448 }
449
450 private File getTempDirectory() {
451 String temp = System.getProperty("java.io.tmpdir");

Callers 1

resolveLocalCopyMethod · 0.95

Calls 2

getLocalLibraryMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected