wiki/server/modules/storage/git/storage.js
/**
   * ASSET RENAME
   *
   * @param {Object} asset Asset to upload
   */
ASSET RENAME
@param {Object} asset Asset to upload
ASSET RENAME @param { Object } asset Asset to upload
async assetRenamed (asset) {
    WIKI.logger.info(`(STORAGE/GIT) Committing file move from ${asset.path} to ${asset.destinationPath}...`)
    await this.git.mv(`./${asset.path}`, `./${asset.destinationPath}`)
    await this.git.commit(`docs: rename ${asset.path} to ${asset.destinationPath}`, [asset.path, asset.destinationPath], {
      '--author': `"${asset.moveAuthorName} <${asset.moveAuthorEmail}>"`
    })
  }
async assetRenamed ( asset ) { WIKI . logger . info ( ` ${ asset . path } ${ asset . destinationPath } ` ) await this . git . mv ( ` ${ asset . path } ` , ` ${ asset . destinationPath } ` ) await this . git . commit ( ` ${ asset . path } ${ asset . destinationPath } ` , [ asset . path , asset . destinationPath ] , { '--author' : ` ${ asset . moveAuthorName } ${ asset . moveAuthorEmail } ` } ) }
ASSET RENAME
 @param {Object} asset Asset to upload
ASSET RENAME @param { Object } asset Asset to upload