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

Method sourcesDate

NewBootstrap.java:966–989  ·  view source on GitHub ↗

Returns the date when the project sources were last touched. @return The project sources date. @since 2016/10/27

()

Source from the content-addressed store, hash-verified

964 * @since 2016/10/27
965 */
966 public long sourcesDate()
967 {
968 // Use cached value
969 long rv = this._sourcedate;
970 if (rv != Long.MIN_VALUE)
971 return rv;
972
973 // Calculate otherwise
974 try
975 {
976 Long[] out = new Long[1];
977 out[0] = Long.MIN_VALUE;
978 NewBootstrap.<Long[]>__walk(this.basepath, out, DATE);
979 this._sourcedate = (rv = out[0]);
980 }
981
982 // Ignore
983 catch (IOException e)
984 {
985 }
986
987 // Return it
988 return rv;
989 }
990
991 /**
992 * {@inheritDoc}

Callers 1

__compileStepMethod · 0.95

Calls 1

__walkMethod · 0.95

Tested by

no test coverage detected