Hello,
as part of the work on benagulp I wrote a small decorator to cache the
return value of functions to disk
https://github.com/beancount/beangulp/pull/33 The idea is that often
importer code needs to convert input files from PDF or other formats to
something more easily parsed. These conversions can take a sizeable
time. Currently beangulp has a facility to cache the conversions within
the same execution of the ingest mechanism, but not between runs.
Especially when developing the importer, it would be nice to speed up
the invocations. Thus this work.
This long introduction is just to ask: where should the disk cache be
located on Windows? On Unix-like platforms I think ~/.cache/benagulp/ is
the right location, but I don't know what is the equivalent of this on
Windows. I think C:\Users\<user>\AppData\Local\Beangulp could be a good
candidate, but I don't know how to get to it.
Thank you.
Cheer,
Dan