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;
112 #endif // OS_STUB_FILESYSTEM_HPP Status _removeDirectory(const char *path) override
Remove a directory at the specified path.
StubFileSystem()=default
constructor
FileSystemHandle * getHandle() override
returns the raw fileSystem handle
PlatformSizeType FwSizeType
Status _changeWorkingDirectory(const char *path) override
Change the current working directory to 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.
~StubFileSystem() override=default
destructor
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 _rename(const char *sourcePath, const char *destPath) override
Rename a file from source to destination.
stub implementation of Os::FileSystem