Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/pyscript/pyscript
/ clear
Function
clear
core/src/storage.js:42–45 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
for
(
const
[k, v] of store.entries()) map.set(k, from_idb(v));
41
42
const
clear = () => {
43
map.clear();
44
store.clear();
45
};
46
47
const
sync =
async
() => {
48
await
store.sync();
Callers
nothing calls this directly
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected