Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HoneyLLM/cli2ssh
/ New
Function
New
internal/set/set.go:7–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
}
6
7
func
New[T comparable]() *Set[T] {
8
return
&Set[T]{items: make(
map
[T]
struct
{})}
9
}
10
11
// Adds an element to the set
12
func
(s *Set[T]) Add(item T) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected