unlink many children from a directory at once #1913

Open
opened 2013-02-02 21:17:04 +00:00 by zooko · 0 comments
zooko commented 2013-02-02 21:17:04 +00:00
Owner

I have a directory with many children, and would like to remove them all. Currently I have to remove them one at a time, which is inconvenient, especially through the WUI. To close this ticket, add a method to [dirnode.py]source:src/allmydata/dirnode.py?annotate=blame&rev=3d771132a843a85578dc23a6cac55b4fae09fc64 named something like delete_multiple_children along with tests in [test_dirnode.py]source:src/allmydata/test/test_dirnode.py?annotate=blame&rev=bdfa7b377226ffb5a3c3f7b602e885772c900e04#L1800. (Probably just copy class allmydata.test.test_dirnode.Deleter to create your new class MultiDeleter.)

Then add controls to the WUI and the cli to unlink multiple children at once.

I have a directory with many children, and would like to remove them all. Currently I have to remove them one at a time, which is inconvenient, especially through the WUI. To close this ticket, add a method to [dirnode.py]source:src/allmydata/dirnode.py?annotate=blame&rev=3d771132a843a85578dc23a6cac55b4fae09fc64 named something like `delete_multiple_children` along with tests in [test_dirnode.py]source:src/allmydata/test/test_dirnode.py?annotate=blame&rev=bdfa7b377226ffb5a3c3f7b602e885772c900e04#L1800. (Probably just copy class `allmydata.test.test_dirnode.Deleter` to create your new class `MultiDeleter`.) Then add controls to the WUI and the cli to unlink multiple children at once.
tahoe-lafs added the
code-dirnodes
normal
enhancement
1.9.2
labels 2013-02-02 21:17:04 +00:00
tahoe-lafs added this to the undecided milestone 2013-02-02 21:17:04 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#1913
No description provided.