summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/directory.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-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.
2022-03-19core: Reduce unused includesameerj1-1/+0
2021-11-04core: Remove unused includesameerj1-1/+0
2019-11-27file_sys/directory: Make EntryType an enum classLioncash1-1/+1
This can trivially be an enum class rather than a regular enum, making it more strongly typed.
2019-01-18file_sys/directory: Remove unused DirectoryBackend classLioncash1-23/+0
This isn't used at all, so we can just get rid of it.
2018-12-03file_sys/directory: Amend path buffer size for directory entriesLioncash1-2/+2
The path buffer is actually 0x301 (769) characters in length, with the extra character being intended for the null-terminator.
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-1/+1
2018-08-09fsp_srv: Use std::string_view's copy() function instead of strncpy()Lioncash1-3/+9
Given elements inserted into a vector are zeroed out, we can just copy MAX_LEN - 1 elements and the data will already be properly null terminated.
2018-07-19Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman1-1/+5
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-03-20FS: Updated the Directory Entry structure to match the Switch.Subv1-20/+17
2018-01-21file_sys: Cleanup to better match Switch file system constructs.bunnei1-1/+1
file_sys: Add factory class for RomFS file system.
2016-11-19FileSys: remove Open from DirectoryBackendwwylele1-6/+0
Open should not be an interface exposed by Directory because it is the Archive thats implement the methed to open the directory. The service API of 3DS also implies this - Open is not a function of directory service, but is of FS main service
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-1/+0
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner1-4/+2
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-9/+12
2015-05-07Clean-up includesYuri Kunde Schlesner1-2/+1
2014-12-21License changepurpasmart961-1/+1
2014-12-16Service.FS: Rename FileSys::Directory to DirectoryBackendYuri Kunde Schlesner1-3/+3
2014-12-07Make OpenDirectory fail if the directory doesn't existarchshift1-0/+6
This is in line with what the hardware itself does. It does this by splitting the initial directory opening into Directory.Open(), which will return false if a stat fails. Then, Archive::OpenDirectory will return nullptr, and archive.cpp will return an error code .
2014-10-06Common: Add a helper function to generate a 8.3 filename from a long one.Emmanuel Gil Peyrot1-2/+2
Core: Fix the SDMC Directory implementation to make blargSnes work.
2014-10-06FileSys: Add static asserts for the Directory struct, and fix its fields position.Emmanuel Gil Peyrot1-2/+8
2014-09-17Core: Add a Directory object, with both a stub and a passthrough implementations.Emmanuel Gil Peyrot1-0/+53