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

Function parseStorageList

src/utils/Uri.js:4–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import path from "./Path";
3
4function parseStorageList() {
5 try {
6 const storageList = JSON.parse(localStorage.storageList || "[]");
7 return Array.isArray(storageList) ? storageList : [];
8 } catch (_) {
9 return [];
10 }
11}
12
13export default {
14 /**

Callers 1

getVirtualAddressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected