KnowledgeCanvas / knowledge

Knowledge is a tool for saving, searching, accessing, exploring and chatting with all of your favorite websites, documents and files.
Apache License 2.0
1.32k stars 92 forks source link

[Bug]: Changing the Autoscan path should verify that the new path is empty #75

Open RobRoyce opened 1 year ago

RobRoyce commented 1 year ago

Currently, when changing the Autoscan path, any files in the new path will be copied to the pending folder. However, this is bug prone due to the lack of support for importing entire folders (see #33).

Expected behavior: when a new Autoscan path is chosen, verify that it is either empty or only contains files (no folders).