MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getStatMtime

Function getStatMtime

src/utils/helpers.js:534–538  ·  view source on GitHub ↗
(stat)

Source from the content-addressed store, hash-verified

532 return Number.isFinite(time) ? time : null;
533 },
534 getStatMtime(stat) {
535 return this.normalizeMtime(
536 stat?.modifiedDate ?? stat?.lastModified ?? stat?.mtime,
537 );
538 },
539 isBinary(file) {
540 return isBinaryFile(file);
541 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected