MCPcopy Create free account
hub / github.com/Epic0522/Codex-Remote-Contact / parseCodexSnapshotUpdatedAt

Function parseCodexSnapshotUpdatedAt

src/server.js:887–890  ·  view source on GitHub ↗
(snapshot)

Source from the content-addressed store, hash-verified

885}
886
887function parseCodexSnapshotUpdatedAt(snapshot) {
888 const value = snapshot?.updatedAt ? Date.parse(snapshot.updatedAt) : 0;
889 return Number.isFinite(value) ? value : 0;
890}
891
892async function readDesktopCodexQuotaSnapshot() {
893 const usageUrlMarker = Buffer.from("/backend-api/wham/usage");

Callers 2

mergeCodexQuotaSnapshotsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected