- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PseudoVersionTime (0.14 sec)
-
src/cmd/go/internal/modfetch/proxy.go
var ( ft time.Time ) if len(f) >= 2 { ft, _ = time.Parse(time.RFC3339, f[1]) } else if module.IsPseudoVersion(f[0]) { ft, _ = module.PseudoVersionTime(f[0]) } else { // Repo.Latest promises that this method is only called where there are // no tagged versions. Ignore any tagged versions that were added in the // meantime. continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 03 15:21:05 UTC 2023 - 13K bytes - Viewed (0) -
src/cmd/go/internal/modload/query.go
// an unsuccessful fix in v1.0.1, in which case the v1.0.2 commit may be // older than the v1.0.1 commit despite the tag itself being newer.) currentTime, err := module.PseudoVersionTime(current) if err == nil && rev.Time.Before(currentTime) { if err := allowed(ctx, module.Version{Path: path, Version: current}); errors.Is(err, ErrDisallowed) { return revWithOrigin(nil), err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 11 22:29:11 UTC 2023 - 44.7K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/coderepo.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 38.4K bytes - Viewed (0)