5 #ifndef OS_POSIX_FILESYSTEM_HPP
6 #define OS_POSIX_FILESYSTEM_HPP
12 namespace FileSystem {
58 Status _rename(
const char* sourcePath,
const char* destPath)
override;
PlatformSizeType FwSizeType
Posix implementation of Os::FileSystem.
Status _removeFile(const char *path) override
Remove a file at the specified path.
Status _changeWorkingDirectory(const char *path) override
Change the current working directory to the specified path.
~PosixFileSystem() override=default
destructor
Status _getWorkingDirectory(char *path, FwSizeType bufferSize) override
Get the current working directory.
PosixFileSystem()=default
constructor
FileSystemHandle * getHandle() override
Get the raw FileSystem handle.
Status _removeDirectory(const char *path) override
Remove a directory at the specified path.
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.