Commit 56ecc13
refactor(remote): drop ReferrerCapability wrapper for atomic state field
Remove referrers_state.go and its exported ReferrerCapability /
ReferrerMergePool types in favor of the leaner upstream shape: a plain
atomic int32 referrersState field and an inline
syncutil.Pool[syncutil.Merge[referrerChange]] merge pool. Keeps the
unexported referrersState iota (unknown/supported/unsupported) as the
capability primitive and preserves the void, first-wins
SetReferrersCapability. ErrReferrersCapabilityAlreadySet is retained to
match the v2 public surface.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Terry Howe <terrylhowe@gmail.com>1 parent c72b045 commit 56ecc13
5 files changed
Lines changed: 17 additions & 578 deletions
File tree
- registry/remote
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
617 | | - | |
| 617 | + | |
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
640 | | - | |
| 640 | + | |
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
This file was deleted.
0 commit comments