Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for loadBranches (0.88 sec)

  1. src/cmd/go/internal/modfetch/codehost/vcs.go

    	for _, tag := range r.cmd.tagRE.FindAllString(string(out), -1) {
    		if r.cmd.badLocalRevRE != nil && r.cmd.badLocalRevRE.MatchString(tag) {
    			continue
    		}
    		r.tags[tag] = true
    	}
    }
    
    func (r *vcsRepo) loadBranches(ctx context.Context) {
    	if r.cmd.branches == nil {
    		return
    	}
    
    	out, err := Run(ctx, r.dir, r.cmd.branches(r.remote))
    	if err != nil {
    		return
    	}
    
    	r.branches = make(map[string]bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top