Documentation ¶
Index ¶
Constants ¶
View Source
const WSL2WindowsHostsFile = `/mnt/c/Windows/system32/drivers/etc/hosts`
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DdevHosts ¶
DdevHosts uses composition to absorb all exported functions of goodhosts
func NewCustomHosts ¶
func (DdevHosts) GetIPPosition ¶
GetIPPosition is the same as the unexported getIpPosition, providing the position of the line in the hosts file that supports the IP address we're looking for. Or it returns -1 if none is found yet.
Click to show internal directories.
Click to hide internal directories.