Skip to content

Commit

Permalink
inode implementation on windows
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Bustamante <[email protected]>
  • Loading branch information
jjbustamante committed Nov 14, 2023
1 parent 75173e4 commit 232de13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/archive/archive_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func getInodeFromStat(stat interface{}, path string) (inode uint64, err error) {
inode = (uint64(s.FileIndexHigh) << 32) | uint64(s.FileIndexLow)

Check warning on line 27 in pkg/archive/archive_windows.go

View check run for this annotation

Codecov / codecov/patch

pkg/archive/archive_windows.go#L27

Added line #L27 was not covered by tests
} else {
s, err = open(path)
if err != nil {
if err == nil {
inode = (uint64(s.FileIndexHigh) << 32) | uint64(s.FileIndexLow)
}
}
Expand Down

0 comments on commit 232de13

Please sign in to comment.