diff --git a/src/fspp/impl/Filesystem.h b/src/fspp/impl/Filesystem.h index b86db240..c4643f59 100644 --- a/src/fspp/impl/Filesystem.h +++ b/src/fspp/impl/Filesystem.h @@ -18,8 +18,8 @@ public: virtual void closeFile(int descriptor) = 0; virtual void lstat(const boost::filesystem::path &path, struct ::stat *stbuf) = 0; virtual void fstat(int descriptor, struct ::stat *stbuf) = 0; - //TODO Unit-Tests for all functions below virtual void truncate(const boost::filesystem::path &path, off_t size) = 0; + //TODO Unit-Tests for all functions below virtual void ftruncate(int descriptor, off_t size) = 0; virtual int read(int descriptor, void *buf, size_t count, off_t offset) = 0; virtual void write(int descriptor, const void *buf, size_t count, off_t offset) = 0;