Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ollm/OpenComic
/ getPort
Function
getPort
scripts/server-client.js:40–45 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
38
}
39
40
function
getPort(path)
41
{
42
path = posixPath(path);
43
44
return
+app.extract(/^[a-z0-9]+\:\/\/?[^\/\\]+:([0-9]+)\
//, path, 1);
45
}
46
47
function
getAdress(path)
48
{
Callers
1
client
Function · 0.85
Calls
1
posixPath
Function · 0.70
Tested by
no test coverage detected