MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / getSafeDate

Method getSafeDate

lib/modCheckLib.js:1158–1161  ·  view source on GitHub ↗
(collectKey, noteKey)

Source from the content-addressed store, hash-verified

1156 return this.#map_CollectionNotes.get(`${collectKey}.${fullNoteKey}`, realDefault)
1157 }
1158 getSafeDate(collectKey, noteKey) {
1159 const safeDate = this.getSafeNote(collectKey, noteKey)
1160 return typeof safeDate === 'object' ? safeDate.toISOString() : safeDate
1161 }
1162
1163 #doNotesDefault() {
1164 const currentOptions = this.#map_CollectionNotes.store

Callers 1

getCurVerCollectionsMethod · 0.95

Calls 1

getSafeNoteMethod · 0.95

Tested by

no test coverage detected