flysystem-cached-adapter icon indicating copy to clipboard operation
flysystem-cached-adapter copied to clipboard

Added config option to allow case_sensitive setting

Open eusonlito opened this issue 4 years ago • 0 comments

This commit allow to config cache adapters with config settings as case_sensitive.

This feature allow to integrate cache to adapters like Dropbox (and others) that are case insensitive.

Tested on a current project that use https://github.com/spatie/flysystem-dropbox as Dropbox Adapter and this project as cache adapter.

All Cache Storage adapters allow a fourth parameter with an array of settings (currently only case_sensitive):

$cache =  new Predis(null, $config['prefix'], $config['expire'], ['case_sensitive' => false]);

eusonlito avatar May 05 '20 22:05 eusonlito