![]() |
![]() |
![]() |
ZIF Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
ZifStoreLocal; ZifStoreLocalClass; const gchar * zif_store_local_get_prefix (ZifStoreLocal *store
); ZifStore * zif_store_local_new (void
); gboolean zif_store_local_set_prefix (ZifStoreLocal *store
,const gchar *prefix
,GError **error
);
const gchar * zif_store_local_get_prefix (ZifStoreLocal *store
);
Gets the prefix to use for the install root.
|
A ZifStoreLocal |
Returns : |
The install prefix, e.g. "/" |
Since 0.1.3
ZifStore * zif_store_local_new (void
);
Returns : |
A new ZifStoreLocal instance. |
Since 0.1.0
gboolean zif_store_local_set_prefix (ZifStoreLocal *store
,const gchar *prefix
,GError **error
);
Sets the prefix to use for the install root.
Using prefix
set to NULL
to use the value from the config file
has been supported since 0.1.3. Earlier versions will assert.
|
A ZifStoreLocal |
|
The install root, e.g. "/", or NULL to use the default |
|
A GError, or NULL
|
Returns : |
TRUE for success, FALSE otherwise
|
Since 0.1.0