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/tailfile.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/tailfile.go')
| -rw-r--r-- | internal/io/fs/tailfile.go | 20 |
1 files changed, 0 insertions, 20 deletions
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, - }, - } -} |
