INNER CODE UNIT · JavaScript

end_position

democratic-csi/democratic-csi · src/driver/controller-objectivefs/index.js:530

        end_position = start_position + max_entries;
      }
      entries = this.ctx.cache.get(`ListVolumes:result:${uuid}`);
      if (entries) {
        entries_length = entries.length;
        entries = entries.slice(start_position, end_position);
        if (max_entries > 0 && end_position > entries_length) {
          next_token = `${uuid}:${end_position}`;
        } else {
          next_token = null;
        }
        const data = {
          entries: entries,
          next_token: next_token,
        };

        return data;
      } else {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…