MCPcopy Index your code
hub / github.com/clojure/clojure / lastModified

Method lastModified

src/jvm/clojure/lang/RT.java:412–425  ·  view source on GitHub ↗
(URL url, String libfile)

Source from the content-addressed store, hash-verified

410}
411
412static public long lastModified(URL url, String libfile) throws IOException{
413 URLConnection connection = url.openConnection();
414 try {
415 if (url.getProtocol().equals("jar"))
416 return ((JarURLConnection) connection).getJarFile().getEntry(libfile).getTime();
417 else
418 return connection.getLastModified();
419 }
420 finally {
421 InputStream ins = connection.getInputStream();
422 if (ins != null)
423 ins.close();
424 }
425}
426
427static void compile(String cljfile) throws IOException{
428 InputStream ins = resourceAsStream(baseLoader(), cljfile);

Callers 1

loadMethod · 0.95

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected