Luna::Asset::move_asset
RV move_asset(asset_t asset, const Path &new_path)
Moves all asset associated files to a new destination.
This function performs the following tasks:1. Moves all files fetched from get_asset_files from old path to new path.
-
Changes path in asset metadata.
-
Saves modified asset metadata to asset metadata file.
Parameters
-
in asset
The asset handle of the asset to operate.
-
in new_path
The new path of the asset.