diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-18 09:16:34 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-18 09:16:34 +0300 |
| commit | bc62af9dc52dbfb0eb8569a78849ae4d0dd4fc57 (patch) | |
| tree | 3cc797b07544e15cd8e0ccf3a1010cea3d8a8100 /internal/io/fs/catfile.go | |
| parent | 67a6b9d8e8e8dc83d5ea3e5859e631a0dfa9dabe (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.go | 20 |
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, - }, - } -} |
