When I first started working on Lotman, I wasn't very careful with some of my language (in part because I wasn't totally sure what I was implementing!).
Instead of referring to "dirs", the code should probably only refer to paths.
Wherever there's an API with dir in the name, e.g. lotman_get_lots_from_dir(), I should deprecate that API in favor of a new API that uses the term 'paths' without deleting the old API.
How to handle deprecation? I may take inspiration from my earlier work here:
scitokens/scitokens-cpp#122