FileCache.full


Description:

[ CCode ( has_construct_function = false ) ]
public FileCache.full (uint size_limit, string cache_key, string? cache_dir)

Constructor of FileCache.

Parameters:

size_limit

maximum size of the cache in bytes

cache_key

an ID for the tileset to store/retrieve

cache_dir

the directory where the cache is created. When cache_dir == NULL, a cache in ~/.cache/shumate is used.

Returns:

a constructed FileCache