Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/syncthing/syncthing
/ without
Function
without
lib/model/model.go:3492–3499 ·
view source on GitHub ↗
(s S, e E)
Source
from the content-addressed store, hash-verified
3490
}
3491
3492
func
without[E comparable, S ~[]E](s S, e E) S {
3493
for
i, x :=
range
s {
3494
if
x == e {
3495
return
append(s[:i], s[i+1:]...)
3496
}
3497
}
3498
return
s
3499
}
Callers
1
Closed
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected