SilverStripe\Assets\Flysystem\FlysystemAssetStore::swapPublish
Similar to publish, only any existing files that would be overriden by publishing will be moved back to the protected store.
Signature
public function swapPublish(
$filename,
$hash )
Parameters
$filename
—$hash
—