mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os, filepath: reorganize functions
This commit is contained in:

committed by
Alexander Medvednikov

parent
6e130cd446
commit
dced76d1a4
@ -1,11 +1,14 @@
|
||||
import os
|
||||
import (
|
||||
os
|
||||
filepath
|
||||
)
|
||||
|
||||
fn test_syscallwrappers() {
|
||||
if true { return }
|
||||
$if linux {
|
||||
$if x64 {
|
||||
exe := os.executable()
|
||||
vdir := os.dir(exe)
|
||||
vdir := filepath.dir(exe)
|
||||
if vdir.len > 1 {
|
||||
dot_checks := vdir + "/.checks"
|
||||
assert os.is_dir(dot_checks)
|
||||
|
Reference in New Issue
Block a user