Lines Matching refs:parsed
43 var parsed = parseGitUrl(url)
49 if (parsed.auth && authProtocols[parsed.protocol]) {
50 auth = parsed.auth
52 var committish = parsed.hash ? decodeURIComponent(parsed.hash.substr(1)) : null
61 …if (parsed.host && parsed.host !== gitHostInfo.domain && parsed.host.replace(/^www[.]/, '') !== gi…
62 if (!gitHostInfo.protocols_re.test(parsed.protocol)) return
63 if (!parsed.path) return
65 var matched = parsed.path.match(pathmatch)
72 defaultRepresentation = protocolToRepresentation(parsed.protocol)
99 var parsed = url.parse(giturl)
100 if (parsed.protocol === 'gist:' && parsed.host && !parsed.path) {
101 return parsed.protocol + '/' + parsed.host