crowdsec/pkg/acquisition/modules/file
David 8949309223
Fix monitorNewFiles for NFS + Remove dead tails from tail map (#3508)
* xx

* xx

* Tests

* fix tests

* XX

* Fix race condition in TestLiveAcquisition implementation

* Better comments for IsTailing and RemoveTail

* lint

* linter

* unmarshal DiscoveryPollInterval to time.Duration

* []byte -> string

* prefer void assignment to nolint

* extract method, add test

* excludedByRE() -> isExcluded()

* fix windows test

* fix regression - tail files from the end if they are detected when the application starts

---------

Co-authored-by: marco <marco@crowdsec.net>
2025-04-30 15:05:17 +02:00
..
test_files Refactor Acquisition Interface (#773) 2021-06-11 09:53:53 +02:00
file.go Fix monitorNewFiles for NFS + Remove dead tails from tail map (#3508) 2025-04-30 15:05:17 +02:00
file_test.go Fix monitorNewFiles for NFS + Remove dead tails from tail map (#3508) 2025-04-30 15:05:17 +02:00
tailline.go CI: use go 1.21.5 (#2640) 2023-12-06 12:38:36 +01:00
tailline_windows.go CI: use go 1.21.5 (#2640) 2023-12-06 12:38:36 +01:00