MCPcopy
hub / github.com/HughYau/qiushi-skill / normalizePath

Function normalizePath

bin/lib/install.mjs:8–10  ·  view source on GitHub ↗
(targetPath)

Source from the content-addressed store, hash-verified

6const MANIFEST_FILE = ".qiushi-skill-install.json";
7
8function normalizePath(targetPath) {
9 return path.resolve(targetPath).replace(/[\\\/]+$/, "").toLowerCase();
10}
11
12async function exists(targetPath) {
13 try {

Callers 2

assertManagedTargetFunction · 0.85
assertManagedEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected