as-pool-private 3 APPSTREAM Library
as-pool-private

## Functions

time_t | as_pool_get_cache_age ()
void | as_cache_file_save ()
GPtrArray * | as_cache_file_read ()

## Description

## Functions

### as_pool_get_cache_age ()

    time_t
    as_pool_get_cache_age (AsPool *pool);

Get the age of our internal cache.

#### Parameters

pool | An instance of AsPool. |

as_pool_get_cache_age

### as_cache_file_save ()

    void
    as_cache_file_save (const gchar *fname,
                        const gchar *locale,
                        GPtrArray *cpts,
                        GError **error);

Serialize components to a cache file and store it on disk.

#### Parameters

fname | The file to save the data to. |
locale | The locale this cache file is for. |
cpts | The components to serialize. | [element-type AsComponent]
error | A GError |

as_cache_file_save

### as_cache_file_read ()

    GPtrArray *
    as_cache_file_read (const gchar *fname,
                        GError **error);

as_cache_file_read

## Types and Values