Determine used, available and total space on internal/external

Is there a way to get the available used, available and total spaces on either the internal device or SD card?

No, this would need to be added to the platform.