MCPcopy
hub / github.com/ollm/OpenComic / getPath

Function getPath

scripts/server-client.js:26–31  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

24}
25
26function getPath(path)
27{
28 path = posixPath(path);
29
30 return app.extract(/^[a-z0-9]+\:\/\/?[^\/\\]+\/(.+)/, path, 1);
31}
32
33function getPathWithoutShare(path)
34{

Callers 1

clientFunction · 0.70

Calls 1

posixPathFunction · 0.70

Tested by

no test coverage detected