MCPcopy Index your code
hub / github.com/java-native-access/jna / isUnpacked

Method isUnpacked

src/com/sun/jna/Native.java:1131–1133  ·  view source on GitHub ↗

Identify temporary files unpacked from classpath jar files.

(File file)

Source from the content-addressed store, hash-verified

1129
1130 /** Identify temporary files unpacked from classpath jar files. */
1131 static boolean isUnpacked(File file) {
1132 return file.getName().startsWith(JNA_TMPLIB_PREFIX);
1133 }
1134
1135 /** Attempt to extract a native library from the current resource path,
1136 * using the current thread context class loader.

Callers 3

testRemoveTemporariesMethod · 0.95
loadLibraryMethod · 0.95

Calls 1

getNameMethod · 0.65

Tested by 1

testRemoveTemporariesMethod · 0.76