MCPcopy Create free account
hub / github.com/Windscribe/Desktop-App / getDnsScript

Function getDnsScript

src/helper/linux/utils.cpp:123–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123std::string getDnsScript(CmdDnsManager mgr)
124{
125 switch(mgr) {
126 case kSystemdResolved:
127 return WS_LINUX_INSTALL_DIR "/scripts/update-systemd-resolved";
128 case kResolvConf:
129 return WS_LINUX_INSTALL_DIR "/scripts/update-resolv-conf";
130 case kNetworkManager:
131 return WS_LINUX_INSTALL_DIR "/scripts/update-network-manager";
132 default:
133 return "";
134 }
135}
136
137bool hasWhitespaceInString(const std::string &str)
138{

Callers 2

executeOpenVPNFunction · 0.85
configureWireGuardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected