[ox/fs] Cleanup

This commit is contained in:
Gary Talent 2018-05-02 22:36:44 -05:00
parent 8a07554c1d
commit 85a98222d4

View File

@ -29,17 +29,20 @@ class FileStore {
virtual Error setSize(InodeId_t size) = 0;
virtual Error write(InodeId_t id, void *data, FsSize_t dataLen, uint8_t fileType = 0) = 0;
virtual Error incLinks(InodeId_t id) = 0;
virtual Error decLinks(InodeId_t id) = 0;
virtual Error write(InodeId_t id, void *data, FsSize_t dataLen, uint8_t fileType = 0) = 0;
virtual Error read(InodeId_t id, void *data, FsSize_t dataSize, FsSize_t *size) = 0;
virtual Error read(InodeId_t id, FsSize_t readStart, FsSize_t readSize, void *data, FsSize_t *size) = 0;
virtual ValErr<const uint8_t*> read(InodeId_t id) = 0;
/**
* @return data section of the requested file
*/
virtual const ptrarith::Ptr<uint8_t, std::size_t> read(InodeId_t id) = 0;
virtual StatInfo stat(InodeId_t id) = 0;