forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TieredStorage] Refactor file_size() code path (#400)
#### Problem TieredStorage::file_size() essentially supports AccountsFile::len(), but its API is inconsistent with AccountsFile's. #### Summary of Changes Refactor TieredStorage::file_size() to ::len() and share the same API as AccountsFile's. #### Test Plan Build Existing unit-tests.
- Loading branch information
1 parent
9a447ab
commit e9cc9f8
Showing
3 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters