mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
V 0.1.12
This commit is contained in:
parent
4d9c6197fd
commit
68ed555e91
@ -8,7 +8,7 @@ import os
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
const (
|
const (
|
||||||
Version = '0.1.11'
|
Version = '0.1.12'
|
||||||
)
|
)
|
||||||
|
|
||||||
enum BuildMode {
|
enum BuildMode {
|
||||||
|
@ -346,7 +346,6 @@ pub fn file_exists(path string) bool {
|
|||||||
pub fn dir_exists(path string) bool {
|
pub fn dir_exists(path string) bool {
|
||||||
$if windows {
|
$if windows {
|
||||||
attr := int(C.GetFileAttributes(path.cstr()))
|
attr := int(C.GetFileAttributes(path.cstr()))
|
||||||
println('ATTR =$attr')
|
|
||||||
return attr == FILE_ATTRIBUTE_DIRECTORY
|
return attr == FILE_ATTRIBUTE_DIRECTORY
|
||||||
}
|
}
|
||||||
$else {
|
$else {
|
||||||
|
Loading…
Reference in New Issue
Block a user