1
0
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:
Alexey
2019-12-23 13:09:22 +03:00
committed by Alexander Medvednikov
parent 6e130cd446
commit dced76d1a4
28 changed files with 174 additions and 98 deletions

View File

@ -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)