...
This commit is contained in:
@@ -19,7 +19,7 @@ Create a file `example.vsh`:
|
||||
```v
|
||||
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
|
||||
|
||||
import freeflowuniverse.herolib.osal.hostsfile
|
||||
import freeflowuniverse.herolib.osal.core as osal.hostsfile
|
||||
import os
|
||||
|
||||
// Create a new instance by reading the hosts file
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module hostsfile
|
||||
|
||||
import os
|
||||
import freeflowuniverse.herolib.osal
|
||||
import freeflowuniverse.herolib.osal.core as osal
|
||||
|
||||
const hosts_file_path = '/etc/hosts'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user