wiki/server/modules/storage/azure/storage.js
/**
   * ASSET RENAME
   *
   * @param {Object} asset Asset to rename
   */
ASSET RENAME
@param {Object} asset Asset to rename
ASSET RENAME @param { Object } asset Asset to rename
async assetRenamed (asset) {
    WIKI.logger.info(`(STORAGE/AZURE) Renaming file from ${asset.path} to ${asset.destinationPath}...`)
    const sourceBlockBlobClient = this.container.getBlockBlobClient(asset.path)
    const destBlockBlobClient = this.container.getBlockBlobClient(asset.destinationPath)
    await destBlockBlobClient.syncCopyFromURL(sourceBlockBlobClient.url)
    await sourceBlockBlobClient.delete({
      deleteSnapshots: 'include'
    })
  }
async assetRenamed ( asset ) { WIKI . logger . info ( ` ${ asset . path } ${ asset . destinationPath } ` ) const sourceBlockBlobClient = this . container . getBlockBlobClient ( asset . path ) const destBlockBlobClient = this . container . getBlockBlobClient ( asset . destinationPath ) await destBlockBlobClient . syncCopyFromURL ( sourceBlockBlobClient . url ) await sourceBlockBlobClient . delete ( { deleteSnapshots : 'include' } ) }
ASSET RENAME
 @param {Object} asset Asset to rename
ASSET RENAME @param { Object } asset Asset to rename