diff --git a/store/file/ods.go b/store/file/ods.go index 70b3a9aa15..3f9468ddf0 100644 --- a/store/file/ods.go +++ b/store/file/ods.go @@ -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 diff --git a/store/file/ods_q4.go b/store/file/ods_q4.go index 1612cdecc4..353098f0d8 100644 --- a/store/file/ods_q4.go +++ b/store/file/ods_q4.go @@ -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 {