Hey folks, how do digests handle symlinks? I'm try...
# development
c
Hey folks, how do digests handle symlinks? I'm trying to get named caches working. Terraform creates symlinks into the named cache. Everything works when manually using pants, but I can't figure out how to get the symlinks from the Digest, so my tests aren't working. Thoughts?
1
f
By default digests are "symlink oblivious"
git grep SymlinkEntry
That is a new type developed in last year returned as part of
Digest
->
DigestEntries
conversion
so there is the start of support but could be better
c
ah, neat, that works!
Get(DigestEntries, Digest, fetched_deps.output_digest)
has the symlinks I'm looking for. Thanks!
👍 1