summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vfs: Make VfsFilesystem constructor explicitLioncash2018-08-121-1/+1
| | | | | Makes it consistent with the other VFS interfaces and prevents implicit construction.
* vfs: Make type hierarchy objects classes instead of structsLioncash2018-08-121-7/+11
| | | | | | struct should be used when the data type is very simple or otherwise has no invariants associated with it. Given these are used to form a hierarchy, class should be used instead.
* vfs: Fix documentationZach Hilman2018-08-091-2/+2
|
* vfs: Fix typo in VfsFilesystem docsZach Hilman2018-08-091-1/+1
|
* vfs: Add VfsFilesystem interface and default implementationZach Hilman2018-08-091-3/+63
|
* Remove files that are not usedZach Hilman2018-08-011-0/+3
|
* RomFS ExtractionZach Hilman2018-07-281-0/+20
|
* vfs: Correct file_p variable usage within InterpretAsDirectory()Lioncash2018-07-221-2/+5
| | | | | | | | | ReplaceFileWithSubdirectory() takes a VirtualFile and a VirtualDir, but it was being passed a string as one of its arguments. The only reason this never caused issues is because this template isn't instantiated anywhere yet. This corrects an issue before it occurs.
* file_util, vfs: Use std::string_view where applicableLioncash2018-07-221-25/+25
| | | | | Avoids unnecessary construction of std::string instances where applicable.
* vfs: Make WriteBytes() overload taking a std::vector pass the std::vector by const referenceLioncash2018-07-211-1/+1
| | | | | Given the data is intended to be directly written, there's no need to take the std::vector by value and copy the data.
* vfs: Use variable template variants of std::is_trivially_copyableLioncash2018-07-211-13/+6
| | | | Provides the same behavior, but with less writing
* vfs: Amend constness on pointers in WriteBytes() and WriteArrays() member functions to be const qualifiedLioncash2018-07-211-3/+3
| | | | | These functions don't modify the data being pointed to, so these can be pointers to const data
* Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman2018-07-191-0/+237
| | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
* Revert "Virtual Filesystem (#597)"bunnei2018-07-081-220/+0
| | | | This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
* Virtual Filesystem (#597)Zach Hilman2018-07-061-0/+220
* Add VfsFile and VfsDirectory classes * Finish abstract Vfs classes * Implement RealVfsFile (computer fs backend) * Finish RealVfsFile and RealVfsDirectory * Finished OffsetVfsFile * More changes * Fix import paths * Major refactor * Remove double const * Use experimental/filesystem or filesystem depending on compiler * Port partition_filesystem * More changes * More Overhaul * FSP_SRV fixes * Fixes and testing * Try to get filesystem to compile * Filesystem on linux * Remove std::filesystem and document/test * Compile fixes * Missing include * Bug fixes * Fixes * Rename v_file and v_dir * clang-format fix * Rename NGLOG_* to LOG_* * Most review changes * Fix TODO * Guess 'main' to be Directory by filename