Skip to content

Commit 4a256ae

Browse files
committed
simplify
1 parent 6d55077 commit 4a256ae

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

+stdlib/+dotnet/disk_available.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
function i = disk_available(file)
44

55
i = uint64.empty;
6-
if ~stdlib.exists(file)
6+
if stdlib.strempty(file)
77
return
88
end
99

+stdlib/+dotnet/disk_capacity.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
function i = disk_capacity(file)
44

55
i = uint64.empty;
6-
if ~stdlib.exists(file)
6+
if stdlib.strempty(file)
77
return
88
end
99

+stdlib/+dotnet/filesystem_type.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
t = '';
7-
if ~stdlib.exists(file)
7+
if stdlib.strempty(file)
88
return
99
end
1010

0 commit comments

Comments
 (0)