foreach_remove
Description:
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.
Parameters:
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 |