summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs_offset.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-11-04core: Remove unused includesameerj1-1/+0
2021-05-02file_sys: Resolve cases of variable shadowingLioncash1-1/+1
Brings us closer to enabling -Wshadow as an error in the core code.
2020-12-10vfs: Use existing type aliases consistentlyLioncash1-3/+3
Makes use of the VirtualDir and VirtualFile aliases across the board instead of having a few isolated places that don't use it.
2018-10-30global: Use std::optional instead of boost::optional (#1578)Frederic L1-1/+1
* get rid of boost::optional * Remove optional references * Use std::reference_wrapper for optional references * Fix clang format * Fix clang format part 2 * Adressed feedback * Fix clang format and MacOS build
2018-09-20file-sys: Default heavy-weight class destructors in the cpp fileLioncash1-0/+1
Several classes have a lot of non-trivial members within them, or don't but likely should have the destructor defaulted in the cpp file for future-proofing/being more friendly to forward declarations. Leaving the destructor unspecified allows the compiler to inline the destruction code all over the place, which is generally undesirable from a code bloat perspective.
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-13/+13
2018-08-12vfs: Make type hierarchy objects classes instead of structsLioncash1-1/+2
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.
2018-07-28RomFS ExtractionZach Hilman1-1/+2
2018-07-22file_util, vfs: Use std::string_view where applicableLioncash1-1/+4
Avoids unnecessary construction of std::string instances where applicable.
2018-07-21vfs: Make WriteBytes() overload taking a std::vector pass the std::vector by const referenceLioncash1-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.
2018-07-20vfs_offset: std::move file and name parameters of OffsetVfsFileLioncash1-1/+1
Avoids potentially unnecessary atomic reference count incrementing and decrementing, as well as string copying.
2018-07-19Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman1-0/+46
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-07-08Revert "Virtual Filesystem (#597)"bunnei1-46/+0
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
2018-07-06Virtual Filesystem (#597)Zach Hilman1-0/+46
* 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