File Explorer

/var/runtime/node_modules/@aws-sdk/node_modules/undici/lib/llhttp

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 /.

utils.js526 B · 13 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.enumToMap = enumToMap;function enumToMap(obj, filter = [], exceptions = []) {    const emptyFilter = (filter?.length ?? 0) === 0;    const emptyExceptions = (exceptions?.length ?? 0) === 0;    return Object.fromEntries(Object.entries(obj).filter(([, value]) => {        return (typeof value === 'number' &&            (emptyFilter || filter.includes(value)) &&            (emptyExceptions || !exceptions.includes(value)));    }));}