MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / getGameDataFilename

Function getGameDataFilename

src/shared/utils/misc.ts:55–58  ·  view source on GitHub ↗
(data: GameData)

Source from the content-addressed store, hash-verified

53}
54
55export function getGameDataFilename(data: GameData) {
56 const cleanDate = data.dateAdded.includes('T') ? data.dateAdded : `${data.dateAdded} +0000 UTC`;
57 return `${data.gameId}-${(new Date(cleanDate)).getTime()}.zip`;
58}
59
60export function mapRuffleSupportString(rs: string) {
61 switch (rs) {

Callers 4

getGamePathFunction · 0.90
downloadGameDataFunction · 0.90
handleGameDataParamsFunction · 0.90
registerRequestCallbacksFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected