Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for firstPathOK (0.08 sec)

  1. src/cmd/vendor/golang.org/x/mod/module/module.go

    		return &ModuleError{Path: path, Err: err}
    	}
    	return nil
    }
    
    // firstPathOK reports whether r can appear in the first element of a module path.
    // The first element of the path must be an LDH domain name, at least for now.
    // To avoid case ambiguity, the domain name must be entirely lower case.
    func firstPathOK(r rune) bool {
    	return r == '-' || r == '.' ||
    		'0' <= r && r <= '9' ||
    		'a' <= r && r <= 'z'
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top