isGitRef property
bool
get
isGitRef
determines if this reference references a git repository Formats:
- git://some_ssh_git_ref
- git://some_ssh_git_ref:
<branch, tag or commit>
- git://https://some_http_git_ref
- git://https://some_http_git_ref:
<branch, tag or commit>
Implementation
bool get isGitRef {
return ref.startsWith('git://');
}