Potato Engine
Hobby Game Engine Project
|
Public Member Functions | |
FileSystem (FileSystem const &)=default | |
FileSystem & | operator= (FileSystem const &)=default |
virtual bool | fileExists (zstring_view path) const noexcept=0 |
virtual bool | directoryExists (zstring_view path) const noexcept=0 |
virtual IOResult | fileStat (zstring_view path, FileStat &outInfo) const =0 |
virtual Stream | openRead (zstring_view path, FileOpenMode mode=FileOpenMode::Binary) const =0 |
virtual Stream | openWrite (zstring_view path, FileOpenMode mode=FileOpenMode::Binary)=0 |
virtual EnumerateResult | enumerate (zstring_view path, EnumerateCallback cb, EnumerateOptions opts=EnumerateOptions::None) const =0 |
virtual IOResult | createDirectories (zstring_view path)=0 |
virtual IOResult | copyFile (zstring_view from, zstring_view to)=0 |
virtual IOResult | remove (zstring_view path)=0 |
virtual IOResult | removeRecursive (zstring_view path)=0 |
![]() | |
shared (shared const &)=delete | |
shared (shared &&) noexcept | |
shared & | operator= (shared const &)=delete |
shared & | operator= (shared &&) noexcept |