def space_avail(self) -> int: """Get the available space in the filesystem the directory is in. Returns: The amount of free space in bytes. """ return shutil.disk_usage(self.path).free