type go/build.Context
27 uses
go/build (current package)
build.go#L37: type Context struct {
build.go#L119: func (ctxt *Context) joinPath(elem ...string) string {
build.go#L127: func (ctxt *Context) splitPathList(s string) []string {
build.go#L135: func (ctxt *Context) isAbsPath(path string) bool {
build.go#L143: func (ctxt *Context) isDir(path string) bool {
build.go#L153: func (ctxt *Context) hasSubdir(root, dir string) (rel string, ok bool) {
build.go#L194: func (ctxt *Context) readDir(path string) ([]fs.DirEntry, error) {
build.go#L211: func (ctxt *Context) openFile(path string) (io.ReadCloser, error) {
build.go#L226: func (ctxt *Context) isFile(path string) bool {
build.go#L236: func (ctxt *Context) gopath() []string {
build.go#L269: func (ctxt *Context) SrcDirs() []string {
build.go#L289: var Default Context = defaultContext()
build.go#L333: func defaultContext() Context {
build.go#L334: var c Context
build.go#L523: func (ctxt *Context) ImportDir(dir string, mode ImportMode) (*Package, error) {
build.go#L576: func (ctxt *Context) Import(path string, srcDir string, mode ImportMode) (*Package, error) {
build.go#L1137: func (ctxt *Context) importGo(p *Package, path, srcDir string, mode ImportMode) error {
build.go#L1298: func hasGoFiles(ctxt *Context, dir string) bool {
build.go#L1420: func (ctxt *Context) MatchFile(dir, name string) (match bool, err error) {
build.go#L1462: func (ctxt *Context) matchFile(dir, name string, allTags map[string]bool, binaryOnly *bool, fset *token.FileSet) (*fileInfo, error) {
build.go#L1582: func (ctxt *Context) shouldBuild(content []byte, allTags map[string]bool) (shouldBuild, binaryOnly bool, err error) {
build.go#L1709: func (ctxt *Context) saveCgo(filename string, di *Package, cg *ast.CommentGroup) error {
build.go#L1822: func (ctxt *Context) makePathsAbsolute(args []string, srcDir string) {
build.go#L1928: func (ctxt *Context) matchAuto(text string, allTags map[string]bool) bool {
build.go#L1941: func (ctxt *Context) eval(x constraint.Expr, allTags map[string]bool) bool {
build.go#L1959: func (ctxt *Context) matchTag(name string, allTags map[string]bool) bool {
build.go#L2022: func (ctxt *Context) goodOSArchFile(name string, allTags map[string]bool) bool {