MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / parseRaw

Function parseRaw

web/src/js/modes/wireguard.ts:15–25  ·  view source on GitHub ↗
({
    data,
    listen_host,
    listen_port,
}: RawSpecParts)

Source from the content-addressed store, hash-verified

13};
14
15export const parseRaw = ({
16 data,
17 listen_host,
18 listen_port,
19}: RawSpecParts): WireguardState => ({
20 ui_id: Math.random(),
21 active: true,
22 listen_host,
23 listen_port,
24 file_path: data,
25});

Callers 1

wireguardSpec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…