summaryrefslogtreecommitdiff
path: root/internal/io/fs/catfile.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-18 09:16:34 +0300
committerPaul Buetow <paul@buetow.org>2025-06-18 09:16:34 +0300
commitbc62af9dc52dbfb0eb8569a78849ae4d0dd4fc57 (patch)
tree3cc797b07544e15cd8e0ccf3a1010cea3d8a8100 /internal/io/fs/catfile.go
parent67a6b9d8e8e8dc83d5ea3e5859e631a0dfa9dabe (diff)
Remove old channel-based implementation files
- 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 <noreply@anthropic.com>
Diffstat (limited to 'internal/io/fs/catfile.go')
-rw-r--r--internal/io/fs/catfile.go20
1 files changed, 0 insertions, 20 deletions
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,
- },
- }
-}