refactor: Add AutoFile::size

This commit is contained in:
Fabian Jahr committed 2025-11-14 01:17:38 +02:00
1 parent ec0f75862e
commit b7af960eb8
5 files changed
+24 -6

No files matched your search

+3
View File
@@ -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();