MCPcopy Create free account
hub / github.com/SquirrelJME/SquirrelJME / binaryDate

Method binaryDate

NewBootstrap.java:867–888  ·  view source on GitHub ↗

Returns the date of the binary. The value here is not cached. @return The date of the binary. @since 2016/10/27

()

Source from the content-addressed store, hash-verified

865 * @since 2016/10/27
866 */
867 public long binaryDate()
868 {
869 // If it does not exist, the date is not valid
870 Path jarout = this.jarout;
871 if (!Files.exists(jarout))
872 return Long.MIN_VALUE;
873
874 // Calculate
875 try
876 {
877 Long[] out = new Long[1];
878 out[0] = Long.MIN_VALUE;
879 NewBootstrap.<Long[]>__walk(jarout, out, DATE);
880 return out[0];
881 }
882
883 // Ignore
884 catch (IOException e)
885 {
886 return Long.MIN_VALUE;
887 }
888 }
889
890 /**
891 * Compiles this project and any dependencies it may have.

Callers 1

__compileStepMethod · 0.95

Calls 2

existsMethod · 0.95
__walkMethod · 0.95

Tested by

no test coverage detected