Currently, in the file attending/library.py there is a Library class whose __init__ function walks .attending/ to find installed modules. That's fine for now, and will be when there are just a few modules, but we might want to speed that up for when there are a bunch of docs installed. Especially when there are multiple versions for most modules.
The added benefit will be the ability to know all of the installed versions without having to recursively walk ~/.attending to find all the things. The added complexity, however, will be the possibility of corrupting this index with multiple concurrent runs of attending, be they via API or via command line tool.
Currently, in the file
attending/library.py
there is aLibrary
class whose__init__
function walks.attending/
to find installed modules. That's fine for now, and will be when there are just a few modules, but we might want to speed that up for when there are a bunch of docs installed. Especially when there are multiple versions for most modules.The added benefit will be the ability to know all of the installed versions without having to recursively walk
~/.attending
to find all the things. The added complexity, however, will be the possibility of corrupting this index with multiple concurrent runs ofattending
, be they via API or via command line tool.