crowdsec/pkg/cwhub
mmetc 338141f067
Refact cscli hub / pkg/cwhub (part 5) (#2521)
* remove unused yaml tags
* cscli/cwhub: deduplicate, remove dead code
* log.Fatal -> fmt.Errorf
* deflate utils.go by moving functions to respective files
* indexOf() -> slices.Index()
* ItemStatus() + toEmoji() -> Item.status()
* Item.versionStatus()
* move getSHA256() to loader.go
2023-10-06 13:59:51 +02:00
..
testdata Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00
cwhub.go Refact cscli hub / pkg/cwhub (part 5) (#2521) 2023-10-06 13:59:51 +02:00
cwhub_test.go Refact cscli hub / pkg/cwhub (part 5) (#2521) 2023-10-06 13:59:51 +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 Refact cscli hub / pkg/cwhub (part 5) (#2521) 2023-10-06 13:59:51 +02:00
helpers_test.go Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00
install.go Refact pkg/cwhub (part 4) (#2518) 2023-10-05 09:35:03 +02:00
loader.go Refact cscli hub / pkg/cwhub (part 5) (#2521) 2023-10-06 13:59:51 +02:00
pathseparator_unix.go Refact pkg/cwhub (part 4) (#2518) 2023-10-05 09:35:03 +02:00
pathseparator_windows.go Refact pkg/cwhub (part 1) (#2512) 2023-10-04 10:34:10 +02:00