File tree 1 file changed +0
-3
lines changed
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -345,7 +345,6 @@ struct
345
345
(match res with
346
346
| Ok () -> Model. mem fs path && path_is_a_dir fs path && not (Model. mem fs full_path)
347
347
| Error (Sys_error s ) ->
348
- (match_msg s full_path " Permission denied" ) ||
349
348
(match_msg s full_path " File exists" && Model. mem fs full_path) ||
350
349
(match_msgs s full_path [" No such file or directory" ;
351
350
" Invalid argument" ] && not (Model. mem fs path)) ||
@@ -358,7 +357,6 @@ struct
358
357
| Ok () ->
359
358
Model. mem fs full_path && path_is_a_dir fs full_path && path_is_an_empty_dir fs full_path
360
359
| Error (Sys_error s ) ->
361
- (match_msg s full_path " Permission denied" ) ||
362
360
(match_msg s full_path " Directory not empty" && not (path_is_an_empty_dir fs full_path)) ||
363
361
(match_msg s full_path " No such file or directory" && not (Model. mem fs full_path)) ||
364
362
(match_msgs s full_path [" Not a directory" ;
@@ -378,7 +376,6 @@ struct
378
376
List. sort String. compare l
379
377
= List. sort String. compare (Array. to_list array_of_subdir)))
380
378
| Error (Sys_error s ) ->
381
- (match_msg s path " Permission denied" ) ||
382
379
(match_msg s path " No such file or directory" && not (Model. mem fs path)) ||
383
380
(match_msgs s path [" Not a directory" ;
384
381
" Invalid argument" (* win32*) ] && not (path_is_a_dir fs path))
You can’t perform that action at this time.
0 commit comments