MCPcopy 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

70053var safeJSON = (text) => {
70054 try {
70055 return JSON.parse(text);
70056 } catch (err) {
70057 return void 0;
70058 }
70059};
70060var startsWithSchemeRegexp = new RegExp("^(?:[a-z]+:)?//", "i");

Callers 1

buildURLMethod · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected