5 #ifndef OS_STUB_FILESYSTEM_HPP
6 #define OS_STUB_FILESYSTEM_HPP
12 namespace FileSystem {
59 Status _rename(
const char* sourcePath,
const char* destPath)
override;
PlatformSizeType FwSizeType
stub implementation of Os::FileSystem
Status _removeDirectory(const char *path) override
Remove a directory at the specified path.
StubFileSystem()=default
constructor
Status _rename(const char *sourcePath, const char *destPath) override
Rename a file from source to destination.
Status _getFreeSpace(const char *path, FwSizeType &totalBytes, FwSizeType &freeBytes) override
Get filesystem free and total space in bytes on the filesystem containing the specified path.
Status _removeFile(const char *path) override
Remove a file at the specified path.
Status _getWorkingDirectory(char *path, FwSizeType bufferSize) override
Get the current working directory.
Status _changeWorkingDirectory(const char *path) override
Change the current working directory to the specified path.
~StubFileSystem() override=default
destructor
FileSystemHandle * getHandle() override
returns the raw fileSystem handle