CLI: Replace locate command with search

* Introduce search CLI command to replace locate command. Search can provide the same functionality but in a more fine-grained fashion

* Replace use of Group::locate in code: Use EntrySearcher in clip cli command best-match option. This removes the matching against group hierarchy of an entry which is kind of nonsense as clip expects exactly one match. Matching against groups can be done using search command.

* Remove obsolete Group::locate method
This commit is contained in:
Robin Ebert 2021-08-03 15:37:47 +02:00 committed by Jonathan White
parent ec81d2bc3f
commit e8f2c9d126
12 changed files with 103 additions and 165 deletions

View file

@ -39,7 +39,6 @@ private slots:
void testFindEntry();
void testFindGroupByPath();
void testPrint();
void testLocate();
void testAddEntryWithPath();
void testIsRecycled();
void testCopyDataFrom();