Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
walldiss committed Oct 17, 2024
1 parent b2f4e85 commit 225d396
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions store/file/ods.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ func writeAxisRoots(w io.Writer, roots *share.AxisRoots) error {
return nil
}

// CheckODSSize checks if the file under given FS path has the expected size.
func CheckODSSize(path string, eds *rsmt2d.ExtendedDataSquare) error {
_, err := checkODSSize(path, eds)
return err
Expand Down
1 change: 1 addition & 0 deletions store/file/ods_q4.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func CreateODSQ4(
return nil
}

// CheckODSQ4Size checks the size of the ODS and Q4 files under the given FS paths.
func CheckODSQ4Size(pathODS, pathQ4 string, eds *rsmt2d.ExtendedDataSquare) error {
h, err := checkODSSize(pathODS, eds)
if err != nil {
Expand Down

0 comments on commit 225d396

Please sign in to comment.