databio / simpleCache

Simplified R caching for reproducible big data projects
http://code.databio.org/simpleCache/
Other
34 stars 6 forks source link

listCaches doesn't handle subdirectories #15

Open nsheff opened 7 years ago

nsheff commented 7 years ago

listCaches only lists the contents of the main cache directory. It could separate them out by subdir and list them.

vreuter commented 7 years ago

Wanted to add just for my own clarity that it does list the names of the subfolders themselves, just not the contents. I hadn't previously noticed that.

vreuter commented 6 years ago

If we introduce a filter to partition contents into caches and non-caches (e.g., .RData suffix), listCaches could be modified to also accept a filepath (i.e., list caches somewhere else, without needing to change the cache dir).

vreuter commented 6 years ago

Not sure about others, but I sometimes make cache folders somewhat low down on the directory tree, and then have one of those active and want to reach over and see what's in other subtree(s)