type go/build.Context
26 uses
go/build (current package)
build.go#L32: type Context struct {
build.go#L112: func (ctxt *Context) joinPath(elem ...string) string {
build.go#L120: func (ctxt *Context) splitPathList(s string) []string {
build.go#L128: func (ctxt *Context) isAbsPath(path string) bool {
build.go#L136: func (ctxt *Context) isDir(path string) bool {
build.go#L146: func (ctxt *Context) hasSubdir(root, dir string) (rel string, ok bool) {
build.go#L186: func (ctxt *Context) readDir(path string) ([]fs.FileInfo, error) {
build.go#L194: func (ctxt *Context) openFile(path string) (io.ReadCloser, error) {
build.go#L209: func (ctxt *Context) isFile(path string) bool {
build.go#L219: func (ctxt *Context) gopath() []string {
build.go#L252: func (ctxt *Context) SrcDirs() []string {
build.go#L272: var Default Context = defaultContext()
build.go#L295: func defaultContext() Context {
build.go#L296: var c Context
build.go#L469: func (ctxt *Context) ImportDir(dir string, mode ImportMode) (*Package, error) {
build.go#L521: func (ctxt *Context) Import(path string, srcDir string, mode ImportMode) (*Package, error) {
build.go#L1052: func (ctxt *Context) importGo(p *Package, path, srcDir string, mode ImportMode) error {
build.go#L1208: func hasGoFiles(ctxt *Context, dir string) bool {
build.go#L1335: func (ctxt *Context) MatchFile(dir, name string) (match bool, err error) {
build.go#L1377: func (ctxt *Context) matchFile(dir, name string, allTags map[string]bool, binaryOnly *bool, fset *token.FileSet) (*fileInfo, error) {
build.go#L1500: func (ctxt *Context) shouldBuild(content []byte, allTags map[string]bool) (shouldBuild, binaryOnly bool, err error) {
build.go#L1621: func (ctxt *Context) saveCgo(filename string, di *Package, cg *ast.CommentGroup) error {
build.go#L1732: func (ctxt *Context) makePathsAbsolute(args []string, srcDir string) {
build.go#L1846: func (ctxt *Context) match(name string, allTags map[string]bool) bool {
build.go#L1925: func (ctxt *Context) goodOSArchFile(name string, allTags map[string]bool) bool {
golang.org/x/pkgsite/internal/fetch
load.go#L311: bctx := &build.Context{
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |