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

Function getSpec

web/src/js/modes/wireguard.ts:8–13  ·  view source on GitHub ↗
(s: WireguardState)

Source from the content-addressed store, hash-verified

6}
7
8export const getSpec = (s: WireguardState): string => {
9 const modeNameAndData = s.file_path
10 ? `wireguard:${s.file_path}`
11 : "wireguard";
12 return includeListenAddress(modeNameAndData, s);
13};
14
15export const parseRaw = ({
16 data,

Callers 2

WireguardFunction · 0.90
wireguardSpec.tsFile · 0.90

Calls 1

includeListenAddressFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…