Skip to content

Commit 8b0ee32

Browse files
committed
getAvailableDiskSpace now works on FreeBSD
1 parent 79fb2ea commit 8b0ee32

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

changelog/std-file-getAvailableDiskSpace.dd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ $(REF getAvailableDiskSpace, std,file) receives as a parameter the path of a fil
44
directory in the file system, and returns the available disk space on the mounted filesystem.
55
If the given path is nonexistent, an exception is thrown.
66

7-
Due to inconsistent behaviour with the `statvfs` `Posix` function, FreeBSD does not support this functionality.
8-
97
---
108
import std.file;
119
ulong size = getAvailableDiskSpace(".");

0 commit comments

Comments
 (0)