Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseGOVCS (0.18 sec)

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

    type govcsRule struct {
    	pattern string
    	allowed []string
    }
    
    // A govcsConfig is a full GOVCS configuration.
    type govcsConfig []govcsRule
    
    func parseGOVCS(s string) (govcsConfig, error) {
    	s = strings.TrimSpace(s)
    	if s == "" {
    		return nil, nil
    	}
    	var cfg govcsConfig
    	have := make(map[string]string)
    	for _, item := range strings.Split(s, ",") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top