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:
@@ -346,7 +346,6 @@ pub fn file_exists(path string) bool {
|
||||
pub fn dir_exists(path string) bool {
|
||||
$if windows {
|
||||
attr := int(C.GetFileAttributes(path.cstr()))
|
||||
println('ATTR =$attr')
|
||||
return attr == FILE_ATTRIBUTE_DIRECTORY
|
||||
}
|
||||
$else {
|
||||
|
||||
Reference in New Issue
Block a user