Skip to content

Added macro for StorageConfig expand dir

rdbo requested to merge rdbo/arti:main into main

There was a TODO at crates/arti-client/src/config.rs about adding a macro to avoid code repetition of the expand_*_dir functions of StorageConfig. This merge request fixes that TODO by creating a macro called expand_dir that takes self and name of the directory as parameters and generates the function based on that.

Merge request reports