[help] Is it possible to create a custom hash function for some (but not all) targets? #1414
Replies: 1 comment
-
Hash functions are too low-level to expose to users. Recent versions of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Help
Description
When hashing
nlmixr2
objects, thedigest::digest()
hash differs between sessions (nlmixr2/rxode2#689 (comment)). Thesha1
value does not differ, though.So, I wonder if there is a way to create a hash manually? My first thought is to use a custom repository that would be almost identical to
tar_repository_cas_local
taking the stablesha1
hash of the object and then storing in the localcas
directory. But, I don't actually want a CAS system. I'd prefer to set a custom hash for the objects and use the rest of thetargets
functionality for storing the object normally.Beta Was this translation helpful? Give feedback.
All reactions