MCPcopy
hub / github.com/syncthing/syncthing / filterStrings

Function filterStrings

build.go:1366–1374  ·  view source on GitHub ↗
(ss []string, op func(string) bool)

Source from the content-addressed store, hash-verified

1364}
1365
1366func filterStrings(ss []string, op func(string) bool) []string {
1367 n := ss[:0]
1368 for _, s := range ss {
1369 if op(s) {
1370 n = append(n, s)
1371 }
1372 }
1373 return n
1374}
1375
1376func tagMessage(tag string) (string, error) {
1377 hash, err := runError("git", "rev-parse", tag)

Callers 1

currentAndLatestVersionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected