mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-10 14:11:43 +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 {
|
namespace {
|
||||||
|
|
||||||
class AccessLogPrinterCallbackManager {
|
class AccessLogPrinterCallbackManager {
|
||||||
|
|
Loading…
Reference in a new issue