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)
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)