fix(deps): update module github.com/containers/storage to v1.59.1

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2025-08-04 16:33:39 +00:00
committed by GitHub
parent a7a0fc47b6
commit 94ef22e9e7
5 changed files with 9 additions and 6 deletions

View File

@@ -1 +1 @@
1.59.0
1.59.1

View File

@@ -697,7 +697,10 @@ func (ta *tarWriter) addFile(headers *addFileData) error {
}
if !headers.fi.IsDir() && hasHardlinks(headers.fi) {
ta.SeenFiles[getInodeFromStat(headers.fi.Sys())] = headers.hdr.Name
ino := getInodeFromStat(headers.fi.Sys())
if _, seen := ta.SeenFiles[ino]; !seen {
ta.SeenFiles[ino] = headers.hdr.Name
}
}
return nil