16. XATTRFILE API

16.1. xattrfile Package

16.1.1. Functions

metwork_get_redis_callable() Create or return a redis instance in a metwork module context.
unittests_get_redis_callable()

16.1.2. Classes

BytesDictWithDirtyFlag Dictionnary with modification (dirty) flag for bytes keys/values.
DictWithDirtyFlag Dictionnary with modification (dirty) flag.
XattrFile(filepath[, get_redis_callable, …]) File with attributes.

16.1.3. Variables

DEFAULT_LOGGER Logger definition
MODULE_RUNTIME_HOME MODULE_RUNTIME_HOME value
RED Redis instance to manage extended attributes
UNITTESTS_RED

16.1.4. Class Inheritance Diagram

Inheritance diagram of xattrfile.BytesDictWithDirtyFlag, xattrfile.DictWithDirtyFlag, xattrfile.XattrFile

16.2. xattrfile.print_tags Module

16.2.1. Functions

main() Print attributes of the given file

16.3. xattrfile.get_tag Module

16.3.1. Functions

main() Get an attribute on a given file

16.4. xattrfile.set_tag Module

16.4.1. Functions

main() Set an attribute on a given file