storage/local: OpenDirectory() returns StorageDirectoryReader*
This commit is contained in:
parent
e3e3053f32
commit
dc76b24e5f
@ -92,7 +92,7 @@ LocalStorage::GetInfo(const char *uri_utf8, bool follow, FileInfo &info,
|
|||||||
return Stat(path_fs, follow, info, error);
|
return Stat(path_fs, follow, info, error);
|
||||||
}
|
}
|
||||||
|
|
||||||
LocalDirectoryReader *
|
StorageDirectoryReader *
|
||||||
LocalStorage::OpenDirectory(const char *uri_utf8, Error &error)
|
LocalStorage::OpenDirectory(const char *uri_utf8, Error &error)
|
||||||
{
|
{
|
||||||
AllocatedPath path_fs = MapFS(uri_utf8, error);
|
AllocatedPath path_fs = MapFS(uri_utf8, error);
|
||||||
|
@ -60,8 +60,8 @@ public:
|
|||||||
virtual bool GetInfo(const char *uri_utf8, bool follow, FileInfo &info,
|
virtual bool GetInfo(const char *uri_utf8, bool follow, FileInfo &info,
|
||||||
Error &error) override;
|
Error &error) override;
|
||||||
|
|
||||||
virtual LocalDirectoryReader *OpenDirectory(const char *uri_utf8,
|
virtual StorageDirectoryReader *OpenDirectory(const char *uri_utf8,
|
||||||
Error &error) override;
|
Error &error) override;
|
||||||
|
|
||||||
virtual std::string MapUTF8(const char *uri_utf8) const override;
|
virtual std::string MapUTF8(const char *uri_utf8) const override;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user