File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -345,7 +345,6 @@ struct
345345 (match res with
346346 | Ok () -> Model. mem fs path && path_is_a_dir fs path && not (Model. mem fs full_path)
347347 | Error (Sys_error s ) ->
348- (match_msg s full_path " Permission denied" ) ||
349348 (match_msg s full_path " File exists" && Model. mem fs full_path) ||
350349 (match_msgs s full_path [" No such file or directory" ;
351350 " Invalid argument" ] && not (Model. mem fs path)) ||
@@ -358,7 +357,6 @@ struct
358357 | Ok () ->
359358 Model. mem fs full_path && path_is_a_dir fs full_path && path_is_an_empty_dir fs full_path
360359 | Error (Sys_error s ) ->
361- (match_msg s full_path " Permission denied" ) ||
362360 (match_msg s full_path " Directory not empty" && not (path_is_an_empty_dir fs full_path)) ||
363361 (match_msg s full_path " No such file or directory" && not (Model. mem fs full_path)) ||
364362 (match_msgs s full_path [" Not a directory" ;
@@ -378,7 +376,6 @@ struct
378376 List. sort String. compare l
379377 = List. sort String. compare (Array. to_list array_of_subdir)))
380378 | Error (Sys_error s ) ->
381- (match_msg s path " Permission denied" ) ||
382379 (match_msg s path " No such file or directory" && not (Model. mem fs path)) ||
383380 (match_msgs s path [" Not a directory" ;
384381 " Invalid argument" (* win32*) ] && not (path_is_a_dir fs path))
You can’t perform that action at this time.
0 commit comments