MCPcopy
hub / github.com/leaningtech/webvm / load

Function load

src/routes/+layout.server.js:38–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38export async function load()
39{
40 var ret = [];
41 for(var i=0;i<posts.length;i++)
42 {
43 ret.push(await getPostData(posts[i]));
44 }
45 return { posts: ret };
46}

Callers

nothing calls this directly

Calls 2

getPostDataFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected