fs/io/FileReader: add method GetFileInfo()
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#endif
|
||||
|
||||
class Path;
|
||||
class FileInfo;
|
||||
|
||||
class FileReader final : public Reader {
|
||||
AllocatedPath path;
|
||||
@@ -79,6 +80,8 @@ public:
|
||||
|
||||
void Close();
|
||||
|
||||
bool GetFileInfo(FileInfo &info, Error &error) const;
|
||||
|
||||
bool Seek(off_t offset, Error &error);
|
||||
|
||||
/* virtual methods from class Reader */
|
||||
|
Reference in New Issue
Block a user