Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for disallowVendor (0.11 sec)

  1. src/cmd/go/internal/load/pkg.go

    		return 0, true
    	}
    	return 0, false
    }
    
    // disallowVendor checks that srcDir is allowed to import p as path.
    // If the import is allowed, disallowVendor returns the original package p.
    // If not, it returns a PackageError.
    func disallowVendor(srcDir string, path string, importerPath string, p *Package, stk *ImportStack) *PackageError {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
Back to top