From e156e6a44a9903b4164fcf7508a324e9262481eb Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 22 Aug 2022 14:54:38 +0300 Subject: [PATCH] os: remove commented code in os_windows.c.v --- vlib/os/os_windows.c.v | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/vlib/os/os_windows.c.v b/vlib/os/os_windows.c.v index 63ac8d17d..277d85c80 100644 --- a/vlib/os/os_windows.c.v +++ b/vlib/os/os_windows.c.v @@ -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 == '.' { -- 2.30.2