File Explorer

/var/runtime/node_modules/@aws-sdk/node_modules/aws-crt/dist.browser/browser

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

trie.d.ts749 B · 26 lines
/** @internal */export declare class Node<T> {    key?: string | undefined;    value?: T | undefined;    children: Map<string, Node<T>>;    constructor(key?: string | undefined, value?: T | undefined, children?: Map<string, Node<T>>);}/** @internal */export type KeySplitter = (key: string) => string[];/** @internal */export declare enum TrieOp {    Insert = 0,    Delete = 1,    Find = 2}/** @internal */export declare class Trie<T> {    protected root: Node<T>;    protected split_key: KeySplitter;    constructor(split: KeySplitter | string);    protected find_node(key: string, op: TrieOp): Node<T> | undefined;    insert(key: string, value: T): void;    remove(key: string): void;    find(key: string): T | undefined;}