Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for oregon (0.39 sec)

  1. src/cmd/go/internal/modload/query.go

    	if origin == nil {
    		return errors.New("nil Origin")
    	}
    
    	// Ensure that the Origin actually includes enough fields to resolve the query.
    	// If we got the previous Origin data from a proxy, it may be missing something
    	// that we would have needed to resolve the query directly from the repo.
    	switch {
    	case origin.RepoSum != "":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/codehost/git_test.go

    				t.Fatal(err)
    			}
    			if !reflect.DeepEqual(info, tt.info) {
    				t.Errorf("Latest: incorrect info\nhave %+v (origin %+v)\nwant %+v (origin %+v)", info, info.Origin, tt.info, tt.info.Origin)
    			}
    		}
    	}
    
    	for _, tt := range []latestTest{
    		{
    			gitrepo1,
    			&RevInfo{
    				Origin: &Origin{
    					VCS:  "git",
    					URL:  gitrepo1,
    					Ref:  "HEAD",
    					Hash: "ede458df7cd0fdca520df19a33158086a8a68e81",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/alias.go

    //
    // [underlying type]: https://go.dev/ref/spec#Underlying_types.
    func (a *Alias) Underlying() Type { return unalias(a).Underlying() }
    
    // Origin returns the generic Alias type of which a is an instance.
    // If a is not an instance of a generic alias, Origin returns a.
    func (a *Alias) Origin() *Alias { return a.orig }
    
    // TypeParams returns the type parameters of the alias type a, or nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/reuse_git.txt

    stdout '"VCS": "git"'
    stdout '"URL": ".*/git/hello"'
    stdout '"Hash": "fc3a09f3dc5cfe0d7a743ea18f1f5226e68b3777"'
    go clean -modcache
    
    # go mod download vcstest/hello should invoke git, print origin info
    go mod download -x -json vcs-test.golang.org/git/hello.git@latest
    stderr 'git( .*)* fetch'
    cp stdout hello.json
    stdout '"Version": "v0.0.0-20170922010558-fc3a09f3dc5c"'
    stdout '"VCS": "git"'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_download_issue51114.txt

    # GIT_CONFIG_GLOBAL suffices for git 2.32.0 and newer.
    # For older git versions we also set $HOME.
    env GIT_CONFIG_GLOBAL=$WORK${/}home${/}gopher${/}.gitconfig
    env HOME=$WORK${/}home${/}gopher
    exec git config --global --show-origin user.name
    stdout 'Go Gopher'
    
    env GOPROXY=direct
    
    ! go mod download
    stderr '^go: github\.com/golang/notexist/subdir@v0.1.0: reading github\.com/golang/notexist/subdir/go\.mod at revision subdir/v0\.1\.0: '
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 16:37:00 UTC 2023
    - 749 bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/validtype.go

    				// We have a cycle. If t != t.Origin() then t is an instance of
    				// the generic type t.Origin(). Because t is in the nest, t must
    				// occur within the definition (RHS) of the generic type t.Origin(),
    				// directly or indirectly, after expansion of the RHS.
    				// Therefore t.Origin() must be invalid, no matter how it is
    				// instantiated since the instantiation t of t.Origin() happens
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 13:22:37 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/codehost/vcs.go

    	if err != nil {
    		return nil, &UnknownRevisionError{Rev: rev}
    	}
    	info, err := r.cmd.parseStat(rev, string(out))
    	if err != nil {
    		return nil, err
    	}
    	if info.Origin == nil {
    		info.Origin = new(Origin)
    	}
    	info.Origin.VCS = r.cmd.vcs
    	info.Origin.URL = r.remote
    	return info, nil
    }
    
    func (r *vcsRepo) Latest(ctx context.Context) (*RevInfo, error) {
    	return r.Stat(ctx, "latest")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/get_issue53955.txt

    # GIT_CONFIG_GLOBAL suffices for git 2.32.0 and newer.
    # For older git versions we also set $HOME.
    env GIT_CONFIG_GLOBAL=$WORK${/}home${/}gopher${/}.gitconfig
    env HOME=$WORK${/}home${/}gopher
    exec git config --global --show-origin user.name
    stdout 'Go Gopher'
    
    # Inject a local repo in place of a remote one, so that we can
    # add commits to the repo partway through the test.
    env GIT_ALLOW_PROTOCOL=file
    env GOPRIVATE=github.com/golang/issue53955
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 16:37:00 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/named.go

    // instantiated types, this is same as the type name of the origin type.
    func (t *Named) Obj() *TypeName {
    	if t.inst == nil {
    		return t.obj
    	}
    	return t.inst.orig.obj
    }
    
    // Origin returns the generic type from which the named type t is
    // instantiated. If t is not an instantiated type, the result is t.
    func (t *Named) Origin() *Named {
    	if t.inst == nil {
    		return t
    	}
    	return t.inst.orig
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modinfo/info.go

    	Sum        string           `json:",omitempty"` // checksum for path, version (as in go.sum)
    	GoModSum   string           `json:",omitempty"` // checksum for go.mod (as in go.sum)
    	Origin     *codehost.Origin `json:",omitempty"` // provenance of module
    	Reuse      bool             `json:",omitempty"` // reuse of old module info is safe
    }
    
    type ModuleError struct {
    	Err string // error text
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top