]> arthur.barton.de Git - bup.git/commit
Add a metadata() method to Node, File, Symlink, and Dir VFS objects.
authorRob Browning <rlb@defaultvalue.org>
Sat, 21 Jul 2012 20:26:17 +0000 (15:26 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 30 Dec 2012 18:00:21 +0000 (12:00 -0600)
commit4b6c8f02025b022ed85726885b48dc95a8a37a34
tree396675d094a8b447a9e005cf2c48021e5681d540
parent458e92da32ddd3c18fc1c3e52a76e9f0b48b832f
Add a metadata() method to Node, File, Symlink, and Dir VFS objects.

The current implementation just populates the self._metadata field of
all of the objects in a directory (and of directory itself) from the
relevant .bupm file whenever metadata() is called on any one of those
objects.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Reviewed-by: Zoran Zaric <zz@zoranzaric.de>
Reviewed-by: Gabriel Filion <lelutin@gmail.com>
lib/bup/t/tmetadata.py
lib/bup/vfs.py