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

Function parse

src/back/PlaylistFile.ts:81–83  ·  view source on GitHub ↗
(json: any, onError?: (error: string) => void)

Source from the content-addressed store, hash-verified

79 }
80
81 function parse(json: any, onError?: (error: string) => void): Playlist {
82 return overwritePlaylistData(deepCopy(DEFAULT_PLAYLIST_DATA), json, onError);
83 }
84}
85
86export const DEFAULT_PLAYLIST_DATA: Playlist = {

Callers 2

readFileFunction · 0.70
readFileSyncFunction · 0.70

Calls 2

deepCopyFunction · 0.90
overwritePlaylistDataFunction · 0.85

Tested by

no test coverage detected