ZifStoreLocal

ZifStoreLocal — A local store is a store that can operate on installed packages

Synopsis

                    ZifStoreLocal;
                    ZifStoreLocalPrivate;
                    ZifStoreLocalClass;
ZifStoreLocal *     zif_store_local_new                 (void);
gboolean            zif_store_local_set_prefix          (ZifStoreLocal *store,
                                                         const gchar *prefix,
                                                         GError **error);

Object Hierarchy

  GObject
   +----ZifStore
         +----ZifStoreLocal

Description

A ZifStoreLocal is a subclassed ZifStore and operates on installed objects.

Details

ZifStoreLocal

typedef struct _ZifStoreLocal ZifStoreLocal;


ZifStoreLocalPrivate

typedef struct _ZifStoreLocalPrivate ZifStoreLocalPrivate;


ZifStoreLocalClass

typedef struct {
	ZifStoreClass		 parent_class;
} ZifStoreLocalClass;


zif_store_local_new ()

ZifStoreLocal *     zif_store_local_new                 (void);

Returns :

A new ZifStoreLocal class instance.

Since 0.1.0


zif_store_local_set_prefix ()

gboolean            zif_store_local_set_prefix          (ZifStoreLocal *store,
                                                         const gchar *prefix,
                                                         GError **error);

Sets the prefix to use for the install root.

store :

the ZifStoreLocal object

prefix :

the install root, e.g. "/"

error :

a GError which is used on failure, or NULL

Returns :

TRUE for success, FALSE for failure

Since 0.1.0