- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 217 for modfile (2.89 sec)
-
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
if f.Syntax == nil { f.Syntax = new(FileSyntax) } if f.Module == nil { f.Module = &Module{ Mod: module.Version{Path: path}, Syntax: f.Syntax.addLine(nil, "module", AutoQuote(path)), } } else { f.Module.Mod.Path = path f.Syntax.updateLine(f.Module.Syntax, "module", AutoQuote(path)) } return nil } func (f *File) AddComment(text string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 46.5K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
runInDir = gopathSrcDir if err := overlayDir(gopathSrcDir, srcDir); err != nil { t.Fatal(err) } modFile := fmt.Sprintf("module %s\ngo 1.14\n", modName) if err := os.WriteFile(filepath.Join(gopathSrcDir, "go.mod"), []byte(modFile), 0666); err != nil { t.Fatal(err) } cmd := []string{goTool, "run", t.goGcflags()} if *linkshared { cmd = append(cmd, "-linkshared")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
src/cmd/go/internal/list/list.go
The file GoMod refers to may be outside the module directory if the module is in the module cache or if the -modfile flag is used. The default output is to print the module path and then information about the version and replacement if any. For example, 'go list -m all' might print: my/main/module golang.org/x/text v0.3.0 => /tmp/text rsc.io/pdf v0.1.1 The Module struct has a String method that formats this
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 16:56:39 UTC 2024 - 33.3K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// module is in the module cache or if the -modfile flag is used. // // The default output is to print the module path and then // information about the version and replacement if any. // For example, 'go list -m all' might print: // // my/main/module // golang.org/x/text v0.3.0 => /tmp/text // rsc.io/pdf v0.1.1 //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
src/cmd/go/internal/modload/buildlist.go
} // IsDirect returns whether the given module provides a package directly // imported by a package or test in the main module. func (rs *Requirements) IsDirect(path string) bool { return rs.direct[path] } // A ModuleGraph represents the complete graph of module dependencies // of a main module. // // If the main module supports module graph pruning, the graph does not include
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 16:04:44 UTC 2024 - 53.8K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
if visited[p1] { continue } visited[p1] = true if p1.Module != nil { m := module.Version{Path: p1.Module.Path, Version: p1.Module.Version} if p1.Module.Path != main.Path && mdeps[m] == nil { mdeps[m] = debugModFromModinfo(p1.Module) } } q = append(q, p1.Internal.Imports...) } sortedMods := make([]module.Version, 0, len(mdeps)) for mod := range mdeps {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/groovy/scripts/TextResourceScriptSourceTest.java
ScriptSource source1 = forFile(new File(testDir, "build.gradle")); ScriptSource source2 = forFile(new File(testDir, "subdir/build.gradle")); assertThat(source1.getClassName(), not(equalTo(source2.getClassName()))); ScriptSource source3 = forFile(new File(testDir, "build.gradle")); assertThat(source1.getClassName(), equalTo(source3.getClassName())); } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 15 01:04:05 UTC 2023 - 12K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/dir.go
} func (d Dir) DebugDir() string { return d.debug } func (d Dir) ModeFile() string { return d.modefile } // SetMode updates the telemetry mode with the given mode. // Acceptable values for mode are "on", "off", or "local". // // SetMode always writes the mode file, and explicitly records the date at // which the modefile was updated. This means that calling SetMode with "on"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:13:09 UTC 2024 - 4.8K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/binder_test.go
initialVolumes: withVolumeVolumeMode(&modeFile, newVolumeArray("volume14-2", "10Gi", "", "", v1.VolumeAvailable, v1.PersistentVolumeReclaimRetain, classEmpty)), expectedVolumes: withVolumeVolumeMode(&modeFile, newVolumeArray("volume14-2", "10Gi", "uid14-2", "claim14-2", v1.VolumeBound, v1.PersistentVolumeReclaimRetain, classEmpty, volume.AnnBoundByController)),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 00:37:30 UTC 2023 - 65.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/resources/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataSerializerTest/gradle/module-with-dependencies.module
{ "module": "m5", "version": { "prefers": "v5", "rejects": ["v6", "v7"] }, "group": "g5"}, { "module": "m6", "version": { "rejects": ["v8"] }, "group": "g6"}, { "module": "m7", "version": { "rejects": ["v7"] }, "group": "g7", "reason": "v7 is buggy"}, { "module": "m8", "version": { "strictly": "v8" }, "group": "g8"},
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.7K bytes - Viewed (0)