I have created the FileStream object to have a similar design as used by the FileIO module. This allows us to easily reuse the FileIO helper functions.
[ ] Handle open files locking correctly
Implement
[x] isEndOfLine
[x] isEndOfStream
[x] getColumn
[x] getLine
[x] read
[x] readAll
[x] readLine
[x] skip
[x] skipLine
[x] write
[x] writeLine
[x] writeBlankLines
[x] close
Test
[x] isEndOfLine
[x] isEndOfStream
[x] getColumn
[x] getLine
[x] read
[x] readAll
[x] readLine
[x] skip
[x] skipLine
[x] write
[x] writeLine
[x] writeBlankLines
[x] close
Update: I plan to handle file locking of open files in a different PR, I have raised an issue for the same #63
I have created the FileStream object to have a similar design as used by the FileIO module. This allows us to easily reuse the FileIO helper functions.
Implement
Test
Update: I plan to handle file locking of open files in a different PR, I have raised an issue for the same #63