MCPcopy
hub / github.com/GooseMod/OpenAsar / getMod

Method getMod

src/appSettings.js:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 }
16
17 getMod() { // Get when file was last modified
18 try {
19 return fs.statSync(this.path).mtime.getTime();
20 } catch { }
21 }
22
23 get(k, d) {
24 return this.store[k] ?? d;

Callers 2

constructorMethod · 0.95
saveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected