MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / getList

Function getList

ui/media/js/main.js:867–870  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

865 },
866
867 getList(path) {
868 return fetch(`bucket/${path}`)
869 .then((response) => (response.status == 200 ? response.json() : []))
870 },
871
872 store(path, data) {
873 return Bucket.upload(`${path}.json`, JSON.stringify(data))

Callers

nothing calls this directly

Calls 1

jsonMethod · 0.45

Tested by

no test coverage detected