GuideFilesystemOperationsgetFreeSpacegetFreeSpaceThe getFreeSpace method is used to get the amount of free space available on the drive.