Module timelog::file

source ·
Expand description

Interface for manipulating the end of a file.

Functions

  • Create a new file for appending from the supplied filename.
  • Find the last line in the supplied file. Return an optional tuple of the line and the offset to that line.
  • Remove the most recent task from the stack file and return the task string.
  • Open the supplied file for reading and writing, return a File.