From 07ad78e4e218125a46540c1b2b7cfc942d987e38 Mon Sep 17 00:00:00 2001 From: Fae Charlton Date: Mon, 23 Oct 2023 09:45:53 -0400 Subject: [PATCH] [Cleanup] Remove unused File type --- filebeat/input/file/file.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/filebeat/input/file/file.go b/filebeat/input/file/file.go index 961f1476a77f..87e8efe73bcf 100644 --- a/filebeat/input/file/file.go +++ b/filebeat/input/file/file.go @@ -23,13 +23,6 @@ import ( "github.com/elastic/elastic-agent-libs/logp" ) -type File struct { - File *os.File - FileInfo os.FileInfo - Path string - State *State -} - // IsSameFile checks if the given File path corresponds with the FileInfo given // It is used to check if the file has been renamed. func IsSameFile(path string, info os.FileInfo) bool {