code: func (u URL) IsLocal() bool {
  	return u.Type == URLTypeLocal || (u.Type == URLTypeURL && u.URL.Scheme == "file" && u.URL.Opaque == "")
  }
docs: // IsLocal returns true if the Git URL refers to a local repository