MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / isAbsoluteURL3

Function isAbsoluteURL3

out/cli.cjs:81054–81056  ·  view source on GitHub ↗
(url2)

Source from the content-addressed store, hash-verified

81052var safeJSON2 = (text) => {
81053 try {
81054 return JSON.parse(text);
81055 } catch (err) {
81056 return void 0;
81057 }
81058};
81059var startsWithSchemeRegexp2 = new RegExp("^(?:[a-z]+:)?//", "i");

Callers 1

buildURLMethod · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected