View definition

func RepoRootForImportPathStatic

Defined in github.com/golang/tools/go/vcs/vcs.go

Description

RepoRootForImportPathStatic attempts to map importPath to a RepoRoot using the commonly-used VCS hosting sites in vcsPaths (github.com/user/dir), or from a fully-qualified importPath already containing its VCS type (foo.com/repo.git/dir)

If scheme is non-empty, that scheme is forced.

RepoRootForImportPathStatic is referenced in 1 repository

github.com/golang/tools