src/client/pfs.go
func (c APIClient) FlushCommitAll(commits []*pfs.Commit, toRepos []*pfs.Repo) ([]*pfs.CommitInfo, error) {
	var result []*pfs.CommitInfo
	if err := c.FlushCommitF(commits, toRepos, func(ci *pfs.CommitInfo) error {
		result = append(result, ci)
		return nil
	}); err != nil {
		return nil, err
	}
	return result, nil
}
func (c APIClient) FlushCommitAll(commits []*pfs.Commit, toRepos []*pfs.Repo) ([]*pfs.CommitInfo, error) {
	var result []*pfs.CommitInfo
	if err := c.FlushCommitF(commits, toRepos, func(ci *pfs.CommitInfo) error {
		result = append(result, ci)
		return nil
	}); err != nil {
		return nil, err
	}
	return result, nil
}
func ( c APIClient ) FlushCommitAll ( commits [ ] * pfs . Commit , toRepos [ ] * pfs . Repo ) ( [ ] * pfs . CommitInfo , error ) { var result [ ] * pfs . CommitInfo if err := c . FlushCommitF ( commits , toRepos , func ( ci * pfs . CommitInfo ) error { result = append ( result , ci ) return nil } ) ; err != nil { return nil , err } return result , nil }
// FlushCommitAll returns commits that have the specified `commits` as
// provenance. Note that it can block if jobs have not successfully
// completed. This in effect waits for all of the jobs that are triggered by a
// set of commits to complete.
//
// If toRepos is not nil then only the commits up to and including those repos
// will be considered, otherwise all repos are considered.
//
// Note that it's never necessary to call FlushCommit to run jobs, they'll run
// no matter what, FlushCommitAll just allows you to wait for them to complete and
// see their output once they do.
FlushCommitAll returns commits that have the specified commits as provenance . Note that it can block if jobs have not successfully completed . This in effect waits for all of the jobs that are triggered by a set of commits to complete . If toRepos is not nil then only the commits up to and including those repos will be considered otherwise all repos are considered . Note that it s never necessary to call FlushCommit to run jobs they ll run no matter what FlushCommitAll just allows you to wait for them to complete and see their output once they do .