17. XATTRFILE API

17.1. xattrfile Package

17.1.1. Functions

metwork_get_redis_callable()

Create or return a redis instance in a metwork module context.

unittests_get_redis_callable()

17.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.

17.1.3. Variables

DEFAULT_LOGGER

Logger definition

MODULE_RUNTIME_HOME

MODULE_RUNTIME_HOME value

RED

Redis instance to manage extended attributes

UNITTESTS_RED

17.1.4. Class Inheritance Diagram

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

17.2. xattrfile.print_tags Module

17.2.1. Functions

main()

Print attributes of the given file

17.3. xattrfile.get_tag Module

17.3.1. Functions

main()

Get an attribute on a given file

17.4. xattrfile.set_tag Module

17.4.1. Functions

main()

Set an attribute on a given file