Is there a way to use this to capture just hashes of the code (transitive) that implements a particular function?
I can't buy into a whole framework in my current context -- but I would really like a way to roll my own content hashing for adhoc caching within an existing system -- where the hash will automatically incorporate the specific implementation logic involved in producing the data i want to cache (so that the hash automatically changes when the implementation does).
eg -- given python function foo -- i want a hash of the code that implements foo (transitive within my project is fine)
I can't buy into a whole framework in my current context -- but I would really like a way to roll my own content hashing for adhoc caching within an existing system -- where the hash will automatically incorporate the specific implementation logic involved in producing the data i want to cache (so that the hash automatically changes when the implementation does).
eg -- given python function foo -- i want a hash of the code that implements foo (transitive within my project is fine)