mirror of
https://github.com/9001/copyparty.git
synced 2025-10-05 19:42:29 +02:00
option to keep files in index when deleted
This commit is contained in:
parent
8f5bae95ce
commit
11d1267f8c
3 changed files with 22 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue