MCPcopy Create free account
hub / github.com/docker/getting-started / teardown

Function teardown

app/src/persistence/sqlite.js:31–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31async function teardown() {
32 return new Promise((acc, rej) => {
33 db.close(err => {
34 if (err) rej(err);
35 else acc();
36 });
37 });
38}
39
40async function getItems() {
41 return new Promise((acc, rej) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…