Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/di-sukharev/opencommit
/ isAbsoluteURL
Function
isAbsoluteURL
out/cli.cjs:70055–70057 ·
view source on GitHub ↗
(url2)
Source
from the content-addressed store, hash-verified
70053
var
safeJSON = (text) => {
70054
try {
70055
return
JSON.parse(text);
70056
} catch (err) {
70057
return
void 0;
70058
}
70059
};
70060
var
startsWithSchemeRegexp =
new
RegExp(
"^(?:[a-z]+:)?//"
,
"i"
);
Callers
1
buildURL
Method · 0.85
Calls
1
test
Method · 0.80
Tested by
no test coverage detected