filter

abstract val filter: (source: String, destination: String) -> PromiseResult<Boolean>?(source)

Function to filter copied files/directories. Return true to copy the item, false to ignore it.