Skip to content

Commit

Permalink
add debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
rchincha committed Dec 3, 2024
1 parent 8ab7e49 commit 45ea451
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/erofs/fs.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package erofs

import (
"fmt"
"io"
"os"

Expand Down Expand Up @@ -51,6 +52,8 @@ func fsImgVerityLocation(fsImgFile string) (int64, uint64, error) {
return -1, 0, err
}

Check warning on line 53 in pkg/erofs/fs.go

View check run for this annotation

Codecov / codecov/patch

pkg/erofs/fs.go#L50-L53

Added lines #L50 - L53 were not covered by tests

fmt.Printf("VERITY LOC: %v\n", verityOffset)

return fi.Size(), verityOffset, nil

Check warning on line 57 in pkg/erofs/fs.go

View check run for this annotation

Codecov / codecov/patch

pkg/erofs/fs.go#L55-L57

Added lines #L55 - L57 were not covered by tests
}

Expand Down

0 comments on commit 45ea451

Please sign in to comment.