db/UniqueTags: add API documentation

This commit is contained in:
Max Kellermann 2019-09-01 14:55:25 +02:00
parent 45403b44de
commit 7f043367ed

View File

@ -29,6 +29,9 @@ struct DatabaseSelection;
template<typename Key> class RecursiveMap;
template<typename T> struct ConstBuffer;
/**
* Walk the database and collect unique tag values.
*/
RecursiveMap<std::string>
CollectUniqueTags(const Database &db, const DatabaseSelection &selection,
ConstBuffer<TagType> tag_types);