1982e1e285
While we generally ignore the basename in this layer, for wildcards there in no other place to add the basename to the checksum as they can not be resolved earlier. Before the basename that was in the checksum was the wildcard itself, so if the wildcard remained same, content remained same but the file where wildcard pointed to was renamed, the cache was not invalidated. Unfortunately, this change breaks cache for all copy commands that use a wildcard. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> |
||
---|---|---|
.. | ||
checksum.go | ||
checksum.pb.go | ||
checksum.proto | ||
checksum_test.go | ||
filehash.go | ||
filehash_unix.go | ||
filehash_windows.go | ||
generate.go | ||
path.go | ||
tarsum.go |