We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64f966e commit 4145a48Copy full SHA for 4145a48
+stdlib/+python/samepath.m
@@ -1,5 +1,10 @@
1
function y = samepath(path1, path2)
2
3
+if ~stdlib.exists(path1) || ~stdlib.exists(path2)
4
+ y = false;
5
+ return
6
+end
7
+
8
try
9
y = py.os.path.samefile(path1, path2);
10
catch e
0 commit comments