-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tail: Big refactoring of uutail, tail_file, tail_stdin methods, Input…
… and error handling * Replace Input::resolve with Input::open * Platform independent way to determine and print a fifo with file seek optimizations * Fifos are now printed only once and behave like pipes in regard to a Stdin handle * Remove the need to canonicalize the path for Input to determine if it's a fifo or pipe. This didn't work on all platforms (equally), most notatibly on macos and windows. * Remove the need to store the offset for fifos. * Activate the previously failing fifo tests and enhance the TestRunner * Error and Result handling in one designated place * Concise code * Remove the last unhandled unwraps in tail.rs
- Loading branch information
1 parent
1b34fd8
commit 867027a
Showing
5 changed files
with
163 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.