File Explorer

/var/runtime/node_modules/@aws-sdk/util-dns/dist-cjs/util

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

0 dirs
3 files
HostEntryTable.js769 B · 29 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.HostEntryTable = void 0;const HostEntry_1 = require("./HostEntry");class HostEntryTable {    map;    constructor() {        this.map = new Map();    }    set(args, addresses, nextTimestampToProcessMs) {        const hostEntry = new HostEntry_1.HostEntry(nextTimestampToProcessMs);        hostEntry.updateRecords(addresses, nextTimestampToProcessMs);        this.map.set(args.hostName, hostEntry);    }    get(hostName) {        return this.map.get(hostName);    }    delete(hostName) {        this.map.delete(hostName);    }    clear() {        this.map.clear();    }    get size() {        return this.map.size;    }}exports.HostEntryTable = HostEntryTable;