Searched defs:errRepo (Results 1 – 1 of 1) sorted by relevance
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/internal/modfetch/ |
D | repo.go | 378 type errRepo struct { struct 379 modulePath string 380 err error 383 func (r errRepo) ModulePath() string { return r.modulePath } 385 func (r errRepo) CheckReuse(ctx context.Context, old *codehost.Origin) error { return r.err } 386 …c (r errRepo) Versions(ctx context.Context, prefix string) (*Versions, error) { return nil, r.err } 387 …c (r errRepo) Stat(ctx context.Context, rev string) (*RevInfo, error) { return nil, r.err } 388 …c (r errRepo) Latest(ctx context.Context) (*RevInfo, error) { return nil, r.err } 389 …c (r errRepo) GoMod(ctx context.Context, version string) ([]byte, error) { return nil, r.err } 390 func (r errRepo) Zip(ctx context.Context, dst io.Writer, version string) error { return r.err }
|