summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs_offset.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* core: Remove unused includesameerj2021-11-041-1/+0
|
* file_sys: Resolve cases of variable shadowingLioncash2021-05-021-1/+1
| | | | Brings us closer to enabling -Wshadow as an error in the core code.
* vfs: Use existing type aliases consistentlyLioncash2020-12-101-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.
* global: Use std::optional instead of boost::optional (#1578)Frederic L2018-10-301-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
* file-sys: Default heavy-weight class destructors in the cpp fileLioncash2018-09-201-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.
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-13/+13
|
* vfs: Make type hierarchy objects classes instead of structsLioncash2018-08-121-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.
* RomFS ExtractionZach Hilman2018-07-281-1/+2
|
* file_util, vfs: Use std::string_view where applicableLioncash2018-07-221-1/+4
| | | | | 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_offset: std::move file and name parameters of OffsetVfsFileLioncash2018-07-201-1/+1
| | | | | Avoids potentially unnecessary atomic reference count incrementing and decrementing, as well as string copying.
* Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman2018-07-191-0/+46
| | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
* Revert "Virtual Filesystem (#597)"bunnei2018-07-081-46/+0
| | | | This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
* Virtual Filesystem (#597)Zach Hilman2018-07-061-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