def _get_filesystem_space_available(self) -> int:
    '\n        Abort a configuration -- discards any loaded config\n\n        Args:\n            N/A\n\n        Returns:\n            None\n\n        Raises:\n            FailedToDetermineDeviceState: if unable to fetch file filesystem bytes available\n\n        '
    filesystem_size_result = self.conn.send_command(command=f'dir {self.filesystem} | i bytes')
    if filesystem_size_result.failed:
        raise FailedToDetermineDeviceState('failed to determine space available on filesystem')
    return self._post_get_filesystem_space_available(output=filesystem_size_result.result)
Abort a configuration -- discards any loaded config

Args:
    N/A

Returns:
    None

Raises:
    FailedToDetermineDeviceState: if unable to fetch file filesystem bytes available
def _get_filesystem_space_available(self) -> int:
    '\n        Abort a configuration -- discards any loaded config\n\n        Args:\n            N/A\n\n        Returns:\n            None\n\n        Raises:\n            FailedToDetermineDeviceState: if unable to fetch file filesystem bytes available\n\n        '
    filesystem_size_result = self.conn.send_command(command=f'dir {self.filesystem} | i bytes')
    if filesystem_size_result.failed:
        raise FailedToDetermineDeviceState('failed to determine space available on filesystem')
    return self._post_get_filesystem_space_available(output=filesystem_size_result.result)