openshift-pipelines / tekton-caches

Tools (and Task/StepAction) to manage cached content within Tekton
Apache License 2.0
7 stars 4 forks source link

files hashing function #19

Open chmouel opened 4 months ago

chmouel commented 4 months ago

the file hashing function is currently opening every files in the cachepatterns to compute a SHA256

this would not scale well to very large repository.

perhaps computing files metadata as SHA256 would be enough instead?

vdemeester commented 3 months ago

perhaps computing files metadata as SHA256 would be enough instead?

Probably yes