KnightSoft/kernel — pull request #22 by SirCmpwn (2013-06-19 19:48:31+00:00)
Title: Implement Writable Filesystem

**Note**: This branch is not complete, do not merge until all requirements are met.

We'll also be changing existing read-only functions to use a buffer in memory so that read functions can use the same code for each kind of stream.

#### Rewrite read-only functions to use in-memory buffer

* [x] openFileRead
* [x] streamReadByte
* [x] streamReadWord
* [ ] streamReadBuffer
* [ ] getStreamInfo
* [ ] streamReadToEnd

#### Add writable functions

* [ ] openStreamWrite
* [ ] streamWriteByte
* [ ] streamWriteWord
* [ ] streamWriteBuffer
* [ ] flushStream
* [ ] Update closeStream
* [x] deleteFile
* [ ] renameFile
* [ ] deleteDirectory
* [ ] renameDirectory
* [ ] moveFile
* [ ] moveDirectory
* [ ] garbageCollect
* [ ] Update other functions to use garbageCollect when needed