예제 #1
0
파일: set_test.go 프로젝트: kizmc/syncthing
func globalList(s *files.Set) []protocol.FileInfo {
	var fs []protocol.FileInfo
	s.WithGlobal(func(f protocol.FileInfo) bool {
		fs = append(fs, f)
		return true
	})
	return fs
}