- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for statLocal (0.1 sec)
-
src/cmd/go/internal/modfetch/codehost/vcs.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 17.3K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git.go
func (r *gitRepo) stat(ctx context.Context, rev string) (info *RevInfo, err error) { if r.local { return r.statLocal(ctx, rev, rev) } // Fast path: maybe rev is a hash we already have locally. didStatLocal := false if len(rev) >= minHashDigits && len(rev) <= 40 && AllHex(rev) { if info, err := r.statLocal(ctx, rev, rev); err == nil { return info, nil } didStatLocal = true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 22:10:38 UTC 2024 - 27.4K bytes - Viewed (0)