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/catfile.go | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 internal/io/fs/catfile.go (limited to 'internal/io/fs/catfile.go') diff --git a/internal/io/fs/catfile.go b/internal/io/fs/catfile.go deleted file mode 100644 index e4676f3..0000000 --- a/internal/io/fs/catfile.go +++ /dev/null @@ -1,20 +0,0 @@ -package fs - -// CatFile is for reading a whole file. -type CatFile struct { - readFile -} - -// NewCatFile returns a new file catter. -func NewCatFile(filePath string, globID string, serverMessages chan<- string) CatFile { - return CatFile{ - readFile: readFile{ - filePath: filePath, - globID: globID, - serverMessages: serverMessages, - retry: false, - canSkipLines: false, - seekEOF: false, - }, - } -} -- cgit v1.2.3