Ejemplo n.º 1
0
 def list_blocks_by_file_id(self, repo_id, file_id, offset=-1, limit=-1):
     """
     list block ids of a file.
     Return: a string containing block list. Each id is seperated by '\n'
     """
     return seafserv_threaded_rpc.list_file_blocks(repo_id, file_id, offset,
                                                   limit)
Ejemplo n.º 2
0
 def list_file_by_file_id(self, repo_id, file_id, offset=-1, limit=-1):
     # deprecated, use list_blocks_by_file_id instead.
     return seafserv_threaded_rpc.list_file_blocks(repo_id, file_id, offset, limit)
Ejemplo n.º 3
0
 def list_blocks_by_file_id(self, repo_id, file_id, offset=-1, limit=-1):
     """
     list block ids of a file.
     Return: a string containing block list. Each id is seperated by '\n'
     """
     return seafserv_threaded_rpc.list_file_blocks(repo_id, file_id, offset, limit)
Ejemplo n.º 4
0
 def list_file_by_file_id(self, repo_id, file_id, offset=-1, limit=-1):
     # deprecated, use list_blocks_by_file_id instead.
     return seafserv_threaded_rpc.list_file_blocks(repo_id, file_id, offset, limit)