docs: drop planning IDs from code comments

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-12 20:33:45 +02:00
1 parent 2c17f374cb
commit 1fa954b74b
5 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -19,13 +19,13 @@ func (s Labels) Scope() string {
return s.Repository
}
// finder addresses the labels of the scope by ID or name (D10); byName matches numeric values as
// finder addresses the labels of the scope by ID or name; byName matches numeric values as
// names only.
func (s Labels) finder(byName bool) NameOrID[Label] {
return NameOrID[Label]{Kind: "label", Scope: s.Scope(), ID: func(l Label) int64 { return l.ID }, Name: func(l Label) string { return l.Name }, ByName: byName}
}
// Find returns the labels of the scope that raws address, each by ID or name (D10); byName matches
// Find returns the labels of the scope that raws address, each by ID or name; byName matches
// numeric values as names only.
func (s Labels) Find(ctx context.Context, raws []string, byName bool) ([]Label, error) {
items, err := s.All(ctx)
+1 -1
View File
@@ -14,7 +14,7 @@ func (s Milestones) All(ctx context.Context) ([]Milestone, error) {
}
// Find returns the milestones that raws address among the open and closed milestones, each by ID
// or title (D10); byName matches numeric values as titles only.
// or title; byName matches numeric values as titles only.
func (s Milestones) Find(ctx context.Context, raws []string, byName bool) ([]Milestone, error) {
items, err := s.All(ctx)
if err != nil {