duck-read-cache-fs icon indicating copy to clipboard operation
duck-read-cache-fs copied to clipboard

Provide a config registry to store all config settings

Open dentiny opened this issue 10 months ago • 0 comments

Is your feature request related to a problem? Please describe. In the past, we've missed to reset a few configurations for a few times.

Describe the solution you'd like https://github.com/dentiny/duck-read-cache-fs/blob/a8b172e68b36a55b6147ce0946e716484a56ec75/src/cache_filesystem_config.cpp#L82-L91

We manually reset all fields, but it's easy to forget; so we should better create a registry to store a configuration, its default value and current value.

Describe alternatives you've considered N/A

Additional context N/A

dentiny avatar Feb 23 '25 10:02 dentiny