func (c *Client) ListRecentBuildsForProject(account, repo, branch, status string, limit, offset int) ([]*Build, error) {
	path := fmt.Sprintf("project/%s/%s", account, repo)
	if branch != "" {
		path = fmt.Sprintf("%s/tree/%s", path, branch)
	}

	params := url.Values{}
	if status != "" {
		params.Set("filter", status)
	}

	return c.recentBuilds(path, params, limit, offset)
}
func (c *Client) ListRecentBuildsForProject(account, repo, branch, status string, limit, offset int) ([]*Build, error) {
	path := fmt.Sprintf("project/%s/%s", account, repo)
	if branch != "" {
		path = fmt.Sprintf("%s/tree/%s", path, branch)
	}

	params := url.Values{}
	if status != "" {
		params.Set("filter", status)
	}

	return c.recentBuilds(path, params, limit, offset)
}
func ( c * Client ) ListRecentBuildsForProject ( account , repo , branch , status string , limit , offset int ) ( [ ] * Build , error ) { path := fmt . Sprintf ( " " , account , repo ) if branch != " " { path = fmt . Sprintf ( " " , path , branch ) } params := url . Values { } if status != " " { params . Set ( " " , status ) } return c . recentBuilds ( path , params , limit , offset ) }
// ListRecentBuildsForProject fetches the list of recent builds for the given repository
// The status and branch parameters are used to further filter results if non-empty
// If limit is -1, fetches all builds
ListRecentBuildsForProject fetches the list of recent builds for the given repository The status and branch parameters are used to further filter results if non - empty If limit is - 1 fetches all builds