Searched defs:emptyRepo (Results 1 – 1 of 1) sorted by relevance
1140 type emptyRepo struct { struct1141 path string1142 err error1147 func (er emptyRepo) ModulePath() string { return er.path }1148 func (er emptyRepo) CheckReuse(ctx context.Context, old *codehost.Origin) error {1151 func (er emptyRepo) Versions(ctx context.Context, prefix string) (*modfetch.Versions, error) {1154 func (er emptyRepo) Stat(ctx context.Context, rev string) (*modfetch.RevInfo, error) {1157 func (er emptyRepo) Latest(ctx context.Context) (*modfetch.RevInfo, error) { return nil, er.err }