code: function _getAssetsHash(sResolvedModulePath, oOptions) {
    // read relevant resources for hash generation
    const aAssetContents = _readAllFiles(sResolvedModulePath)
  
    // generate hash based on resource contents
    const aBufferList = aAssetContents.map(oContent => new Buffer(oContent))
    const sNewHash = _createHash(aBufferList, oOptions)
  
    return sNewHash
  }
docs: Generate hash for directory with assets (all content is taken into account).
  @param {string} [sResolvedModulePath] Module path.
  @param {Object} [oOptions] Cach buster options.
  @param {Object} [oOptions.hash] Hash generation options.
  @param {string} [oOptions.HASH_TYPE] Hash type.
  @param {string} [oOptions.DIGEST_TYPE] Digest type.
  @param {number} [oOptions.MAX_LENGTH] Maximum hash length.
  @returns {string|null} Generated hash.