- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for ModuleGraph (0.14 sec)
-
src/cmd/go/internal/modload/buildlist.go
graphOnce sync.Once // guards writes to (but not reads from) graph graph atomic.Pointer[cachedGraph] } // A cachedGraph is a non-nil *ModuleGraph, together with any error discovered // while loading that graph. type cachedGraph struct { mg *ModuleGraph err error // If err is non-nil, mg may be incomplete (but must still be non-nil). } // requirements is the requirement graph for the main module. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 16:04:44 UTC 2024 - 53.8K bytes - Viewed (0) -
cmd/dependencyverifier/dependencyverifier.go
log.Fatalf("Error reading dependencies file %s: %s", dependenciesJSONPath, err) } // convert from `go mod graph` to main module and map of from->[]to references mainModules, moduleGraph := convertToMap(modeGraphStr) directDependencies := map[string]map[string]bool{} for _, mainModule := range mainModules { dir := "" if mainModule.name != "k8s.io/kubernetes" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 07 01:48:30 UTC 2023 - 12.7K bytes - Viewed (0) -
src/cmd/go/internal/modload/list.go
needFullGraph = true if mode&ListVersions == 0 && !HasModRoot() { base.Fatalf("go: cannot match %q without -versions or an explicit version: %v", arg, ErrNoModRoot) } } } var mg *ModuleGraph if needFullGraph { rs, mg, mgErr = expandGraph(ctx, rs) } matchedModule := map[module.Version]bool{} for _, arg := range args { if path, vers, found := strings.Cut(arg, "@"); found {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 22:43:50 UTC 2023 - 8.8K bytes - Viewed (0) -
src/cmd/go/internal/modload/edit.go
for { mg, err = readModGraph(ctx, rootPruning, roots, upgradedRoot) // We keep on going even if err is non-nil until we reach a steady state. // (Note that readModGraph returns a non-nil *ModuleGraph even in case of // errors.) The caller may be able to fix the errors by adjusting versions,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 21:46:32 UTC 2024 - 34.1K bytes - Viewed (0) -
src/cmd/go/internal/modload/import.go
// 1.20, preventing unnecessary go.sum churn and network access in those // modules. func importFromModules(ctx context.Context, path string, rs *Requirements, mg *ModuleGraph, skipModFile bool) (m module.Version, modroot, dir string, altMods []module.Version, err error) { invalidf := func(format string, args ...interface{}) (module.Version, string, string, []module.Version, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 15:21:14 UTC 2024 - 27.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/css/javadoc.css
font-style:italic; font-size:11px; } .searchTagHolderResult { font-style:italic; font-size:12px; } .searchTagResult:before, .searchTagResult:target { color:red; } .moduleGraph span { display:none; position:absolute; } .moduleGraph:hover span { display:block; margin: -100px 0 0 100px; z-index: 1; } .methodSignature { white-space:normal; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 09 14:25:49 UTC 2024 - 50.5K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
} ld.requirements = rs return true } // load loads an individual package. func (ld *loader) load(ctx context.Context, pkg *loadPkg) { var mg *ModuleGraph if ld.requirements.pruning == unpruned { var err error mg, err = ld.requirements.Graph(ctx) if err != nil { // We already checked the error from Graph in loadFromRoots and/or
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0)