Module file

Source
Expand description

Interface for manipulating the end of a file.

Functionsยง

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