[tahoe-lafs-trac-stream] [tahoe-lafs] #1913: unlink many children from a directory at once

tahoe-lafs trac at tahoe-lafs.org
Wed Mar 5 02:52:42 UTC 2014


#1913: unlink many children from a directory at once
-------------------------------+------------------------------------
     Reporter:  zooko          |      Owner:
         Type:  enhancement    |     Status:  new
     Priority:  normal         |  Milestone:  undecided
    Component:  code-dirnodes  |    Version:  1.9.2
   Resolution:                 |   Keywords:  usability tahoe-unlink
Launchpad Bug:                 |
-------------------------------+------------------------------------
Description changed by daira:

Old description:

> 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
> [source:git/src/allmydata/dirnode.py?annotate=blame&rev=3d771132a843a85578dc23a6cac55b4fae09fc64
> dirnode.py] named something like {{{delete_multiple_children}}} along
> with tests in
> [source:git/src/allmydata/test/test_dirnode.py?annotate=blame&rev=bdfa7b377226ffb5a3c3f7b602e885772c900e04#L1800
> test_dirnode.py]. (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.

New description:

 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
 [source:src/allmydata/dirnode.py?annotate=blame&rev=3d771132a843a85578dc23a6cac55b4fae09fc64
 dirnode.py] named something like {{{delete_multiple_children}}} along with
 tests in
 [source:src/allmydata/test/test_dirnode.py?annotate=blame&rev=bdfa7b377226ffb5a3c3f7b602e885772c900e04#L1800
 test_dirnode.py]. (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.

--

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1913#comment:1>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list