Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ollm/OpenComic
/ getShare
Function
getShare
scripts/server-client.js:19–24 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
17
}
18
19
function
getShare(path)
20
{
21
path = posixPath(path);
22
23
return
app.extract(/^[a-z0-9]+\:\/\/?[^\/\\]+\/([^\/\\]+)/, path, 1);
24
}
25
26
function
getPath(path)
27
{
Callers
1
client
Function · 0.85
Calls
1
posixPath
Function · 0.70
Tested by
no test coverage detected