kaspiana / mage

A command-line tool for cataloguing images (particularly digital art), styled after Git.
0 stars 0 forks source link

Deleting documents breaks displayed view indices #1

Open kaspiana opened 6 months ago

kaspiana commented 6 months ago

When a document is deleted, all corresponding hard links must also be removed, however this means that a hard link such as 1~... will suddenly in truth have index 0 if 0~... is deleted.

Ideas:

kaspiana commented 5 months ago

Documents are now merely marked as deleted and so do not need to be removed from existing views immediately. This issue should be reconsidered once there is a way to delete all documents pending deletion.