[ Version ( since = "3.26" ) ]
public void foreach_remove (string path, DataCacheRemoveFunc func)
Traverses the this sub-cache identified by path
and calls func
for each found
file.
If the func
returns true, then the file is removed, if false
, it's kept in the cache.
this | |
path |
Path to the (sub) cache the items exist in |
func |
a callback to call for each found file in the cache |
user_data |
user data passed to |