wix-incubator / kissfs

Extensible and reactive text-based file-system library that keeps it simple, universal and cross-platform
MIT License
12 stars 5 forks source link

cache-fs should not track caching of entire tree #89

Closed amir-arad closed 6 years ago

amir-arad commented 7 years ago

with partial loadDirectoryTree and loadDirectoryChildren, cache-fs's eager fetching of the entire tree (calling this.cacheTree()) nullifies any optimization attempts by the user.

rewrite these methods to fetch the minimum amount of data required