option to keep files in index when deleted

This commit is contained in:
ed 2022-09-07 01:07:21 +02:00
parent 8f5bae95ce
commit 11d1267f8c
3 changed files with 22 additions and 5 deletions

View file

@ -1071,6 +1071,10 @@ class AuthSrv(object):
if getattr(self.args, k):
vol.flags[k] = True
for ga, vf in [["no_forget", "noforget"]]:
if getattr(self.args, ga):
vol.flags[vf] = True
for k1, k2 in IMPLICATIONS:
if k1 in vol.flags:
vol.flags[k2] = True