mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-10 06:01:52 +00:00
fs: add access log strings for DirectoryEntryType
This commit is contained in:
parent
14ed4e4057
commit
7d61cab01c
1 changed files with 8 additions and 0 deletions
|
@ -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 a new issue