mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 12:21:18 +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