Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for modPath (0.14 sec)

  1. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryConfigurationIntegrationTest.groovy

            def modPath = { TestFile file -> new TestFile("${file.parentFile}/new_output/_${file.name}") }
            modPath(executable("build/exe/main/main").file).assertExists()
            modPath(sharedLibrary("build/libs/hello/shared/hello").file).assertExists()
            modPath(staticLibrary("build/libs/hello/static/hello").file).assertExists()
        }
    
        @Issue("https://github.com/gradle/gradle-native/issues/368")
        @RequiresInstalledToolChain(VISUALCPP)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modcmd/init.go

    func runInit(ctx context.Context, cmd *base.Command, args []string) {
    	if len(args) > 1 {
    		base.Fatalf("go: 'go mod init' accepts at most one argument")
    	}
    	var modPath string
    	if len(args) == 1 {
    		modPath = args[0]
    	}
    
    	modload.ForceUseModules = true
    	modload.CreateModFile(ctx, modPath) // does all the hard work
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 15:51:46 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modcmd/vendor.go

    			} else {
    				base.Error(err)
    			}
    		}
    	}
    }
    
    type metakey struct {
    	modPath string
    	dst     string
    }
    
    var copiedMetadata = make(map[metakey]bool)
    
    // copyMetadata copies metadata files from parents of src to parents of dst,
    // stopping after processing the src parent for modPath.
    func copyMetadata(modPath, pkg, dst, src string, copiedFiles map[string]bool) {
    	for parent := 0; ; parent++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/coderepo.go

    	// pathMajor is the suffix of modPath that indicates its major version,
    	// or the empty string if modPath is at major version 0 or 1.
    	//
    	// pathMajor is typically of the form "/vN", but possibly ".vN", or
    	// ".vN-unstable" for modules resolved using gopkg.in.
    	pathMajor string
    	// pathPrefix is the prefix of modPath that excludes pathMajor.
    	// It is used only for logging.
    	pathPrefix string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  5. src/internal/coverage/encodemeta/encode.go

    	"io"
    	"os"
    )
    
    type CoverageMetaDataBuilder struct {
    	stab    stringtab.Writer
    	funcs   []funcDesc
    	tmp     []byte // temp work slice
    	h       hash.Hash
    	pkgpath uint32
    	pkgname uint32
    	modpath uint32
    	debug   bool
    	werr    error
    }
    
    func NewCoverageMetaDataBuilder(pkgpath string, pkgname string, modulepath string) (*CoverageMetaDataBuilder, error) {
    	if pkgpath == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 17:16:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. misc/go_android_exec/main.go

    	}
    	isStd, err = strconv.ParseBool(parts[1])
    	if err != nil {
    		return errorf("%v: non-boolean .Standard in output: %q", cmd, out)
    	}
    	if len(parts) >= 4 {
    		modPath = parts[2]
    		modDir = parts[3]
    	}
    
    	return importPath, isStd, modPath, modDir, nil
    }
    
    // adbCopyTree copies testdata, go.mod, go.sum files from subdir
    // and from parent directories all the way up to the root of subdir.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  7. src/cmd/distpack/pack.go

    	"os"
    	"path"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"time"
    
    	"cmd/internal/telemetry"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: distpack\n")
    	os.Exit(2)
    }
    
    const (
    	modPath          = "golang.org/toolchain"
    	modVersionPrefix = "v0.0.1"
    )
    
    var (
    	goroot     string
    	gohostos   string
    	gohostarch string
    	goos       string
    	goarch     string
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    			// want these even for dependency go.mods
    		default:
    			return
    		}
    	}
    
    	wrapModPathError := func(modPath string, err error) {
    		*errs = append(*errs, Error{
    			Filename: f.Syntax.Name,
    			Pos:      line.Start,
    			ModPath:  modPath,
    			Verb:     verb,
    			Err:      err,
    		})
    	}
    	wrapError := func(err error) {
    		*errs = append(*errs, Error{
    			Filename: f.Syntax.Name,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/init.go

    		if strings.HasPrefix(modPath, "gopkg.in/") {
    			invalidMajorVersionMsg := fmt.Errorf("module paths beginning with gopkg.in/ must always have a major version suffix in the form of .vN:\n\tgo mod init %s", suggestGopkgIn(modPath))
    			base.Fatalf(`go: invalid module path "%v": %v`, modPath, invalidMajorVersionMsg)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  10. src/cmd/go/internal/workcmd/edit.go

    func editPrintJSON(workFile *modfile.WorkFile) {
    	var f workfileJSON
    	if workFile.Go != nil {
    		f.Go = workFile.Go.Version
    	}
    	for _, d := range workFile.Use {
    		f.Use = append(f.Use, useJSON{DiskPath: d.Path, ModPath: d.ModulePath})
    	}
    
    	for _, r := range workFile.Replace {
    		f.Replace = append(f.Replace, replaceJSON{r.Old, r.New})
    	}
    	data, err := json.MarshalIndent(&f, "", "\t")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top