summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs_real.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-10-19vfs: Remove InterpretAsDirectory and related functionsZach Hilman1-3/+0
When writing VFS, it initally seemed useful to include a function to in-place convert container files into directories in one homogenous directory structure, but re-evaluating it now there have been plenty of chances to use it and there has always been a better way. Removing as it is unused and likely will not be used.
2018-09-24fsmitm: Cleanup and modernize fsmitm portZach Hilman1-2/+2
2018-09-22vfs: Add GetEntries methodZach Hilman1-0/+17
Maps name string to directory or file.
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-4/+4
2018-09-02vfs_real: Forward declare IOFileLioncash1-0/+6
Eliminates the need to rebuild some source files if the file_util header ever changes. This also uncovered some indirect inclusions, which have also been fixed.
2018-08-27vfs_real: Remove unused variable in CreateDirectoryRelative()Lioncash1-1/+0
2018-08-12registration: Various style and documentation improvementsZach Hilman1-6/+10
Fix logic in RealVfsFilesystem Create methods Remove magic numbers Fix regex errors
2018-08-12vfs_real: Add CreateFullPath to Create* operationsZach Hilman1-12/+6
2018-08-12registration: Update documentation and styleZach Hilman1-5/+12
2018-08-12vfs_real: Add CreateFullPath to CreateFileZach Hilman1-3/+6
Fixes bugs with calling CreateFile when the immediate directory does not exist.
2018-08-09file_util: Use enum instead of bool for specifing path behaviorZach Hilman1-17/+27
2018-08-09vfs: Add unreachable assert to file permissions converterZach Hilman1-1/+3
2018-08-09vfs: Add RealVfsFilesystem implementationZach Hilman1-75/+252
2018-07-28RomFS ExtractionZach Hilman1-0/+6
2018-07-24VFS Regression and Accuracy Fixes (#776)Zach Hilman1-20/+27
* Regression and Mode Fixes * Review Fixes * string_view correction * Add operator& for FileSys::Mode * Return std::string from SanitizePath * Farming Simulator Fix * Use != With mode operator&
2018-07-22file_util, vfs: Use std::string_view where applicableLioncash1-18/+39
Avoids unnecessary construction of std::string instances where applicable.
2018-07-22file_util: Use a u64 to represent number of entriesLioncash1-3/+3
This avoids a truncating cast on size. I doubt we'd ever traverse a directory this large, however we also shouldn't truncate sizes away.
2018-07-21vfs_real: Remove redundant copying of std::vector instances in GetFiles() and GetSubdirectories()Lioncash1-2/+3
We already return by value, so we don't explicitly need to make the copy.
2018-07-21partition_filesystem, vfs_real: Add missing standard includesLioncash1-0/+1
2018-07-21partition_filesystem, vfs_real: Use std::move in ReplaceFileWithSubdirectory() where applicableLioncash1-1/+2
Avoids unnecessary atomic increment and decrement operations.
2018-07-21partition_filesystem, vfs_real: Use std::distance() instead of subtractionLioncash1-2/+5
This is a little bit more self-documenting on what is being done here.
2018-07-19Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman1-0/+177
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-07-08Revert "Virtual Filesystem (#597)"bunnei1-168/+0
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
2018-07-06Virtual Filesystem (#597)Zach Hilman1-0/+168
* 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