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 05d3aa7 commit 70e13f6Copy full SHA for 70e13f6
+stdlib/+python/is_mount.m
@@ -4,6 +4,13 @@
4
5
function y = is_mount(filepath)
6
7
+% this is necessary for some Pythons, even the same X.Y may have different behavior due to
8
+% patch bugfixes
9
+if ~isfolder(filepath) || (filepath == stdlib.root(filepath) && ~endsWith(filepath, ["/", "\"]))
10
+ y = false;
11
+ return
12
+end
13
+
14
try
15
y = py.os.path.ismount(filepath);
16
catch e
0 commit comments