func golang.org/x/mod/module.SplitPathVersion

10 uses

	golang.org/x/mod/module (current package)
		module.go#L211: 	_, pathMajor, _ := SplitPathVersion(path)
		module.go#L305: 	if _, _, ok := SplitPathVersion(path); !ok {
		module.go#L487: func SplitPathVersion(path string) (prefix, pathMajor string, ok bool) {

	golang.org/x/mod/modfile
		rule.go#L662: 	_, major, ok := module.SplitPathVersion(path)

	golang.org/x/pkgsite/internal
		discovery.go#L94: 	seriesPath, _, _ := module.SplitPathVersion(modulePath)
		discovery.go#L105: 	_, v, _ := module.SplitPathVersion(modulePath)
		discovery.go#L114: 	seriesPath, v, ok := module.SplitPathVersion(modulePath)

	golang.org/x/pkgsite/internal/frontend
		header.go#L36: 		prefix, _, _ := module.SplitPathVersion(um.Path)
		header.go#L93: 		prefix, _, _ = module.SplitPathVersion(pkgPath)

	golang.org/x/pkgsite/internal/godoc/internal/doc
		doc.go#L238: 	pathPrefix, _, _ := module.SplitPathVersion(path)