Skip to content

Conversation

@jingangdidi
Copy link

@jingangdidi jingangdidi commented Dec 2, 2025

📌 Summary

  1. tail_file.rs: read from the ending of file not beginning.
  2. read.rs: tail_file return the first n lines, not last n lines, newline_positions is already in reverse order.

✨ Changes Made

change beginning to ending in TailFile struct.
change get(line_count - n) to get(n) in tail_file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant