DataCacheRemoveFunc


Description:

[ CCode ( instance_pos = 2.9 ) ]
[ Version ( since = "3.26" ) ]
public delegate bool DataCacheRemoveFunc (DataCache cdc, string filename)

A callback called for each found file in the cache, used by foreach_remove.

The filename corresponds to the result of get_filename.

Parameters:

cdc

a DataCache

filename

a file name found in the cache

user_data

user data passed to foreach_remove

Returns:

true, to delete the file, false to keep in in the cache


Namespace: Camel
Package: camel-1.2