MCPcopy Index your code
hub / github.com/serverless/serverless / isPlainGitURL

Function isPlainGitURL

packages/sf-core/src/utils/https/index.js:46–50  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

44 * @returns Boolean indicating if the URL is a plain Git URL
45 */
46const isPlainGitURL = (url) => {
47 return (
48 (url.startsWith('https') || url.startsWith('git@')) && url.endsWith('.git')
49 )
50}
51
52/**
53 * Function to safely extract a string value from the query object

Callers 1

parseRepoURLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…