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

Function teardown

app/src/persistence/mysql.js:53–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53async function teardown() {
54 return new Promise((acc, rej) => {
55 pool.end(err => {
56 if (err) rej(err);
57 else acc();
58 });
59 });
60}
61
62async function getItems() {
63 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…