diff options
author | Max Kellermann <max@duempel.org> | 2015-02-28 20:50:15 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-02-28 23:00:26 +0100 |
commit | 2d06a8e8804b1db64c7564532362eecdf7ad81d3 (patch) | |
tree | 3083cbd252fa36f0dd31269b7a3be84b5acb4d1e /test/run_storage.cxx | |
parent | e1a434edbc84528fcd85e337ebf713c75124ba2b (diff) |
storage/FileInfo: rename to StorageFileInfo
Diffstat (limited to 'test/run_storage.cxx')
-rw-r--r-- | test/run_storage.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/run_storage.cxx b/test/run_storage.cxx index 302dd566b..0d99676d5 100644 --- a/test/run_storage.cxx +++ b/test/run_storage.cxx @@ -56,7 +56,7 @@ Ls(Storage &storage, const char *path) const char *name; while ((name = dir->Read()) != nullptr) { - FileInfo info; + StorageFileInfo info; if (!dir->GetInfo(false, info, error)) { printf("Error on %s: %s\n", name, error.GetMessage()); error.Clear(); @@ -65,15 +65,15 @@ Ls(Storage &storage, const char *path) const char *type = "unk"; switch (info.type) { - case FileInfo::Type::OTHER: + case StorageFileInfo::Type::OTHER: type = "oth"; break; - case FileInfo::Type::REGULAR: + case StorageFileInfo::Type::REGULAR: type = "reg"; break; - case FileInfo::Type::DIRECTORY: + case StorageFileInfo::Type::DIRECTORY: type = "dir"; break; } |