refactor: Add AutoFile::size
This commit is contained in:
5 files changed
+24
-6
No files matched your search
@@ -435,6 +435,9 @@ public:
|
||||
/** Find position within the file. Will throw if unknown. */
|
||||
int64_t tell();
|
||||
|
||||
/** Return the size of the file. Will throw if unknown. */
|
||||
int64_t size();
|
||||
|
||||
/** Wrapper around FileCommit(). */
|
||||
bool Commit();
|
||||
|
||||
|
||||
Reference in new issue
Block a user