mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-21 11:02:45 +02:00
fs: add access log strings for DirectoryEntryType
This commit is contained in:
parent
64ec9a7421
commit
2fc9035b7d
@ -156,6 +156,14 @@ namespace ams::fs::impl {
|
||||
}
|
||||
}
|
||||
|
||||
template<> const char *IdString::ToString<fs::DirectoryEntryType>(fs::DirectoryEntryType type) {
|
||||
switch (type) {
|
||||
case fs::DirectoryEntryType_Directory: return "Directory";
|
||||
case fs::DirectoryEntryType_File: return "File";
|
||||
default: return ToValueString(static_cast<int>(type));
|
||||
}
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
class AccessLogPrinterCallbackManager {
|
||||
|
Loading…
Reference in New Issue
Block a user