os.open does r/d as default which makes a call to open a dir invalid this should fix this problem
This commit is contained in:
1 parent
a724573bb3
commit
8b1100bf2b
2 files changed
+1
-2
No files matched your search
@@ -114,7 +114,6 @@ main :: proc() {
|
||||
filepath.walk(path, walk_files);
|
||||
|
||||
for file in files {
|
||||
fmt.println(file);
|
||||
|
||||
backup_path := strings.concatenate({file, "_bk"});
|
||||
defer delete(backup_path);
|
||||
|
||||
Reference in new issue
Block a user