src/server/pkg/cmdutil/cobra.go
func ParseBranches(args []string) ([]*pfs.Branch, error) {
	var results []*pfs.Branch
	for _, arg := range args {
		branch, err := ParseBranch(arg)
		if err != nil {
			return nil, err
		}
		results = append(results, branch)
	}
	return results, nil
}
func ParseBranches(args []string) ([]*pfs.Branch, error) {
	var results []*pfs.Branch
	for _, arg := range args {
		branch, err := ParseBranch(arg)
		if err != nil {
			return nil, err
		}
		results = append(results, branch)
	}
	return results, nil
}
func ParseBranches ( args [ ] string ) ( [ ] * pfs . Branch , error ) { var results [ ] * pfs . Branch for _ , arg := range args { branch , err := ParseBranch ( arg ) if err != nil { return nil , err } results = append ( results , branch ) } return results , nil }
// ParseBranches converts all arguments to *pfs.Commit structs using the
// semantics of ParseBranch
ParseBranches converts all arguments to * pfs . Commit structs using the semantics of ParseBranch