Hi,

Sorry, I really don't understand what your telling  me. How do I download
the app please ?! I'm really stuck and have paid for the app already ?!

David

On Friday, 9 August 2013, Billy Lynch wrote:

> In github/repos_collaborators.go:
>
> > +	resp, err := s.client.Do(req, users)
> > +	return *users, resp, err
> > +}
> > +
> > +// IsCollaborator checks whether the specified Github user has collaborator
> > +// access to the given repo.
> > +//
> > +// GitHub API docs: http://developer.github.com/v3/repos/collaborators/#get
> > +func (s *RepositoriesService) IsCollaborator(owner, repo, user string) (bool, *Response, error) {
> > +	u := fmt.Sprintf("repos/%v/%v/collaborators/%v", owner, repo, user)
> > +	req, err := s.client.NewRequest("GET", u, nil)
> > +	if err != nil {
> > +		return false, nil, err
> > +	}
> > +	resp, err := s.client.Do(req, nil)
> > +	if resp.StatusCode == 204 {
>
> I think that we shouldn't modify parseBoolResponse. Like you said, this
> seems to be a special edge case and not applicable anywhere else. The API
> docs also make no mention of this difference in 404's, so I think we're
> safe to treat them both as the same.
>
> Plus if a user is not on GitHub then they are obviously not a collaborator
> on a project.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/google/go-github/pull/34/files#r5672848>
> .
>