crowdsec/pkg/cwhub
mmetc 3253b16f0f
Refact pkg/cwhub (part 2) (#2513)
* remove globals for walker callback
* extract method getItemInfo()
* code dedup, if/else -> switch
* dedent: happy path
* remove target variable
2023-10-04 11:17:35 +02:00
..
tests Cwhub testing (#1438) 2022-04-19 12:07:35 +02:00
cwhub.go Refact pkg/cwhub (part 2) (#2513) 2023-10-04 11:17:35 +02:00
cwhub_test.go Refact pkg/cwhub (part 1) (#2512) 2023-10-04 10:34:10 +02:00
dataset.go lint: pkg/cwhub (#2510) 2023-10-03 11:20:56 +02:00
dataset_test.go lint: pkg/cwhub (#2510) 2023-10-03 11:20:56 +02:00
download.go Refact pkg/cwhub (part 1) (#2512) 2023-10-04 10:34:10 +02:00
download_test.go lint: pkg/cwhub (#2510) 2023-10-03 11:20:56 +02:00
helpers.go lint: pkg/cwhub (#2510) 2023-10-03 11:20:56 +02:00
helpers_test.go lint: pkg/cwhub (#2510) 2023-10-03 11:20:56 +02:00
install.go Refact pkg/cwhub (part 1) (#2512) 2023-10-04 10:34:10 +02:00
loader.go Refact pkg/cwhub (part 2) (#2513) 2023-10-04 11:17:35 +02:00
pathseparator.go Refact pkg/cwhub (part 1) (#2512) 2023-10-04 10:34:10 +02:00
pathseparator_windows.go Refact pkg/cwhub (part 1) (#2512) 2023-10-04 10:34:10 +02:00