server/api/common/cache-topo-graph-converter.js
/**
   * Check cache file existence and target topology file updating.
   * @param {string} jsonName - File name of topology data.
   * @returns {boolean} True if operative cache exists.
   * @private
   */
Check cache file existence and target topology file updating.
@param {string} jsonName - File name of topology data.
@returns {boolean} True if operative cache exists.
@private
Check cache file existence and target topology file updating . @param { string } jsonName - File name of topology data . @returns { boolean } True if operative cache exists . @private
async _foundOperativeCache(jsonName) {
    await this._updateStatsOfTopologyJSON(jsonName)
    console.log('Requested: ', this._jsonPath)
    return (
      this._targetStats &&
      this._cacheStats &&
      this._targetStats.mtimeMs < this._cacheStats.mtimeMs
    )
  }
async _foundOperativeCache ( jsonName ) { await this . _updateStatsOfTopologyJSON ( jsonName ) console . log ( 'Requested: ' , this . _jsonPath ) return ( this . _targetStats && this . _cacheStats && this . _targetStats . mtimeMs < this . _cacheStats . mtimeMs ) }
Check cache file existence and target topology file updating.
Check cache file existence and target topology file updating .