Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for vcsErrorf (0.17 sec)

  1. src/cmd/go/internal/modfetch/codehost/vcs.go

    // distinguished error for “repo not found” and treat everything else
    // as terminal.)
    type VCSError struct {
    	Err error
    }
    
    func (e *VCSError) Error() string { return e.Err.Error() }
    
    func (e *VCSError) Unwrap() error { return e.Err }
    
    func vcsErrorf(format string, a ...any) error {
    	return &VCSError{Err: fmt.Errorf(format, a...)}
    }
    
    type vcsCacheKey struct {
    	vcs    string
    	remote string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top