From bc62af9dc52dbfb0eb8569a78849ae4d0dd4fc57 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 18 Jun 2025 09:16:34 +0300 Subject: Remove old channel-based implementation files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Delete obsolete readfile.go, readfilelcontext.go, tailfile.go, catfile.go - Clean up deprecated comments in readcommand.go - Add *.query to .gitignore for temporary test files - DTail now operates purely in channelless mode - All tests passing after cleanup 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- internal/io/fs/tailfile.go | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 internal/io/fs/tailfile.go (limited to 'internal/io/fs/tailfile.go') diff --git a/internal/io/fs/tailfile.go b/internal/io/fs/tailfile.go deleted file mode 100644 index 7a40ac4..0000000 --- a/internal/io/fs/tailfile.go +++ /dev/null @@ -1,20 +0,0 @@ -package fs - -// TailFile is to tail and filter a log file. -type TailFile struct { - readFile -} - -// NewTailFile returns a new file tailer. -func NewTailFile(filePath string, globID string, serverMessages chan<- string) TailFile { - return TailFile{ - readFile: readFile{ - filePath: filePath, - globID: globID, - serverMessages: serverMessages, - retry: true, - canSkipLines: true, - seekEOF: true, - }, - } -} -- cgit v1.2.3