Open ColinFay opened 1 year ago
Simply copied for now. Two things that came to my mind:
self$path
to private$path
; this is taste, but one might prohibit direct access and work with setters/getters in the public interface to change the path with checks on the correctness/catching typos when changing the path etc.cachem
) and remote memoise + bank
either of:
Storage
class a skeleton/interface/abstract class with (private) members themselves being R6 classes of the type that is now added (from qs) in #13 and provide access to the other classes (for cachem/memoise+bank) through this interfaceSince 2. is a design thing, and I have no idea where this is going, let me know the direction @ColinFay , I am happy to help!
Let's port of https://github.com/ColinFay/odds here.
With memory storage (cachem), disk storage (qs), and remote (memoise + bank)