1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

os: remove commented code in os_windows.c.v

This commit is contained in:
Delyan Angelov 2022-08-22 14:54:38 +03:00
parent d7501cc9a1
commit e156e6a44a
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -189,19 +189,6 @@ pub fn ls(path string) ?[]string {
return dir_files
}
/*
pub fn is_dir(path string) bool {
_path := path.replace('/', '\\')
attr := C.GetFileAttributesW(_path.to_wide())
if int(attr) == int(C.INVALID_FILE_ATTRIBUTES) {
return false
}
if (int(attr) & C.FILE_ATTRIBUTE_DIRECTORY) != 0 {
return true
}
return false
}
*/
// mkdir creates a new directory with the specified path.
pub fn mkdir(path string, params MkdirParams) ?bool {
if path == '.' {