MCPcopy
hub / github.com/syncthing/syncthing / reverseStrings

Function reverseStrings

build.go:1360–1364  ·  view source on GitHub ↗
(ss []string)

Source from the content-addressed store, hash-verified

1358}
1359
1360func reverseStrings(ss []string) {
1361 for i := 0; i < len(ss)/2; i++ {
1362 ss[i], ss[len(ss)-1-i] = ss[len(ss)-1-i], ss[i]
1363 }
1364}
1365
1366func filterStrings(ss []string, op func(string) bool) []string {
1367 n := ss[:0]

Callers 1

currentAndLatestVersionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected