You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
macOS has a concept of purgeable space. It can be treated like free space for most purposes, because the OS deletes from it if space gets too low. As such, it would make sense to either include it in Filesystem.avail or add it as a separate API.
The text was updated successfully, but these errors were encountered:
would make sense to either include it in Filesystem.avail
No, on all unix platforms the free/avail/total fields directly correspond to the struct statfs fields and it should stay like that (I'll add some documentation comments).
add it as a separate API
I guess that would be fine, though we haven't had any platform-specific functions yet…
Good question. The third-party app DaisyDisk can detect it so it's definitely possible, and the “About This Mac” dialog shows it as available immediately so it doesn't require traversing the file hierarchy, but I haven't been able to find any info about how, and DaisyDisk is closed-source.
macOS has a concept of purgeable space. It can be treated like free space for most purposes, because the OS deletes from it if space gets too low. As such, it would make sense to either include it in
Filesystem.avail
or add it as a separate API.The text was updated successfully, but these errors were encountered: