FLAC
Find, Load and make the Cache. Caching made by fsa.
If your filters are changed, you have to clearCache
, because filters doesn't apply to cached objects.
Example
File structure:
test
package.json
a
module.json
b
module.json
Define filters and exec flac.find
for test
directory.
var flacOptions = filters: name: 'module' { return file === 'module.json' } name: 'package' { return file === 'package.json' } noCache: false // not required, default value 'false' cacheDir: '.custom' // not required, default value '.flac';flac
Result: