MCPcopy Index your code
hub / github.com/codebymitch/TitanBot / buildDatabaseUrlWithName

Function buildDatabaseUrlWithName

scripts/restore-drill.js:95–99  ·  view source on GitHub ↗
(databaseUrl, databaseName)

Source from the content-addressed store, hash-verified

93}
94
95function buildDatabaseUrlWithName(databaseUrl, databaseName) {
96 const parsed = new URL(databaseUrl);
97 parsed.pathname = `/${databaseName}`;
98 return parsed.toString();
99}
100
101async function run() {
102 const args = parseArgs(process.argv.slice(2));

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected