Logo Search packages:      
Sourcecode: calibre version File versions

def calibre::devices::interface::DevicePlugin::total_space (   self,
  end_session = True 
)

Get total space available on the mountpoints:
    1. Main memory
    2. Memory Card A
    3. Memory Card B

@return: A 3 element list with total space in bytes of (1, 2, 3). If a
particular device doesn't have any of these locations it should return 0.

Reimplemented in calibre::devices::prs500::driver::PRS500, and calibre::devices::usbms::device::Device.

Definition at line 111 of file interface.py.

00111                                            :
        """
        Get total space available on the mountpoints:
            1. Main memory
            2. Memory Card A
            3. Memory Card B

        @return: A 3 element list with total space in bytes of (1, 2, 3). If a
        particular device doesn't have any of these locations it should return 0.
        """
        raise NotImplementedError()

    def free_space(self, end_session=True):


Generated by  Doxygen 1.6.0   Back to index