feat(boss): Boss creates nests and assigns registry crows (#43)

This commit is contained in:
Smokey committed 2026-10-28 09:11:57 -06:00
1 parent 3e4b591762
commit dab245cb73
5 files changed
+106 -11

No files matched your search

+6
View File
@@ -86,6 +86,12 @@ func (s *CrowStore) Add(c SpunCrow) error {
return nil
}
// Has reports whether a crow with that name is in the registry.
func (s *CrowStore) Has(name string) bool {
_, ok := s.Get(name)
return ok
}
// Len is how many crows the registry holds.
func (s *CrowStore) Len() int {
s.mu.Lock()