Skip to content

Commit

Permalink
fix: correct the description of LedgerDirManager's methods (#4442)
Browse files Browse the repository at this point in the history
Co-authored-by: qunzhong <[email protected]>
  • Loading branch information
ethqunzhong and qunzhong authored Jun 18, 2024
1 parent 969367e commit 21060e4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,17 @@ public List<LedgerDirsListener> getListeners() {
/**
* Calculate the total amount of free space available in all of the ledger directories put together.
*
* @return totalDiskSpace in bytes
* @return freeDiskSpace in bytes
* @throws IOException
*/
public long getTotalFreeSpace(List<File> dirs) throws IOException {
return diskChecker.getTotalFreeSpace(dirs);
}

/**
* Calculate the total amount of free space available in all of the ledger directories put together.
* Calculate the total amount of disk space in all of the ledger directories put together.
*
* @return freeDiskSpace in bytes
* @return totalDiskSpace in bytes
* @throws IOException
*/
public long getTotalDiskSpace(List<File> dirs) throws IOException {
Expand Down

0 comments on commit 21060e4

Please sign in to comment.