Closed reneme closed 6 years ago
@jblomer I think we might as well merge this PR too, it can't hurt anything. Then I will submit another PR with a new version number in the .spec, then the repo needs to get a tag of that number, then I can build for the cvmfs-contrib yum repo.
This allows to backtrace a CernVM-FS file path for a given content hash. Both partial objects and bulk chunks are fine. Currently this only works on catalog level, not on an entire catalog tree. Furthermore the feature is rather slow, as this catalog lookup is only partially backed by an SQLite index. It's anyway useful for repository backend troubleshooting.
Example:
Output:
Note that the result is a list because a single content hash might be referred to by many CernVM-FS paths.