parameters: (self, arg)
docstring: Usage: mount
docstring_summary: Usage: mount
docstring_tokens: Usage : mount
function: def do_mount(self, arg):
          """Usage: mount"""
          args = arg.split()
          if len(args) != 0:
              print(self.do_mount.__doc__)
              return
          if not self._api.isLoggedIn():
              print('INFO: Not logged in')
              return
  
          print('INFO: INSHARES:')
          users = self._api.getContacts()
          for i in range(users.size()):
              user = users.get(i)
              if user.getVisibility() == MegaUser.VISIBILITY_VISIBLE:
                  shares = self._api.getInShares(user)
                  for j in range(shares.size()):
                      share = shares.get(j)
                      print('INFO: INSHARE on {} {} Access level: {}'
                            .format(users.get(i).getEmail(),
                                    are.getName(),
                                    self._api.getAccess(share)))
function_tokens: def do_mount ( self , arg ) : args = arg . split ( ) if len ( args ) != 0 : print ( self . do_mount . __doc__ ) return if not self . _api . isLoggedIn ( ) : print ( 'INFO: Not logged in' ) return print ( 'INFO: INSHARES:' ) users = self . _api . getContacts ( ) for i in range ( users . size ( ) ) : user = users . get ( i ) if user . getVisibility ( ) == MegaUser . VISIBILITY_VISIBLE : shares = self . _api . getInShares ( user ) for j in range ( shares . size ( ) ) : share = shares . get ( j ) print ( 'INFO: INSHARE on {} {} Access level: {}' . format ( users . get ( i ) . getEmail ( ) , are . getName ( ) , self . _api . getAccess ( share ) ) )