summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs_real.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vfs: Remove InterpretAsDirectory and related functionsZach Hilman2018-10-191-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.
* fsmitm: Cleanup and modernize fsmitm portZach Hilman2018-09-241-2/+2
|
* vfs: Add GetEntries methodZach Hilman2018-09-221-0/+17
| | | | Maps name string to directory or file.
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-4/+4
|
* vfs_real: Forward declare IOFileLioncash2018-09-021-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.
* vfs_real: Remove unused variable in CreateDirectoryRelative()Lioncash2018-08-271-1/+0
|
* registration: Various style and documentation improvementsZach Hilman2018-08-121-6/+10
| | | | | | Fix logic in RealVfsFilesystem Create methods Remove magic numbers Fix regex errors
* vfs_real: Add CreateFullPath to Create* operationsZach Hilman2018-08-121-12/+6
|
* registration: Update documentation and styleZach Hilman2018-08-121-5/+12
|
* vfs_real: Add CreateFullPath to CreateFileZach Hilman2018-08-121-3/+6
| | | | Fixes bugs with calling CreateFile when the immediate directory does not exist.
* file_util: Use enum instead of bool for specifing path behaviorZach Hilman2018-08-091-17/+27
|
* vfs: Add unreachable assert to file permissions converterZach Hilman2018-08-091-1/+3
|
* vfs: Add RealVfsFilesystem implementationZach Hilman2018-08-091-75/+252
|
* RomFS ExtractionZach Hilman2018-07-281-0/+6
|
* VFS Regression and Accuracy Fixes (#776)Zach Hilman2018-07-241-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&
* file_util, vfs: Use std::string_view where applicableLioncash2018-07-221-18/+39
| | | | | Avoids unnecessary construction of std::string instances where applicable.
* file_util: Use a u64 to represent number of entriesLioncash2018-07-221-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.
* vfs_real: Remove redundant copying of std::vector instances in GetFiles() and GetSubdirectories()Lioncash2018-07-211-2/+3
| | | | | We already return by value, so we don't explicitly need to make the copy.
* partition_filesystem, vfs_real: Add missing standard includesLioncash2018-07-211-0/+1
|
* partition_filesystem, vfs_real: Use std::move in ReplaceFileWithSubdirectory() where applicableLioncash2018-07-211-1/+2
| | | | Avoids unnecessary atomic increment and decrement operations.
* partition_filesystem, vfs_real: Use std::distance() instead of subtractionLioncash2018-07-211-2/+5
| | | | This is a little bit more self-documenting on what is being done here.
* Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman2018-07-191-0/+177
| | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
* Revert "Virtual Filesystem (#597)"bunnei2018-07-081-168/+0
| | | | This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
* Virtual Filesystem (#597)Zach Hilman2018-07-061-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