On Thu, 2009-08-13 at 22:17 +0200, David Faure wrote: > And then it's up to implementations to update that value, when > adding a file to the trash, restoring a trashed file, deleting a trashed file, > and when emptying the trash. > > Is this OK with other implementors of the trash spec? Can it be added > to the spec?
I'm a bit concerned about the performance costs of this. It means that you need to do a deep recursion into a folder counting its size when it is trashed. Whereas otherwise trashing a large folder structure is O(1) it now becomed O(number of files) and does a lot more I/O. _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
