Example #1
0
 def get_dirent_by_path(self, repo_id, path):
     try:
         ret = seafserv_threaded_rpc.get_dirent_by_path(repo_id, path)
     except SearpcError as e:
         if str(e).startswith(SeafileAPI.PATH_NOT_EXIST_PREFIX):
             ret = None
         else:
             raise e
     return ret
Example #2
0
 def get_dirent_by_path(self, repo_id, path):
     try:
         ret = seafserv_threaded_rpc.get_dirent_by_path(repo_id, path)
     except SearpcError as e:
         if str(e).startswith(SeafileAPI.PATH_NOT_EXIST_PREFIX):
             ret = None
         else:
             raise e
     return ret
Example #3
0
 def get_dirent_by_path(self, repo_id, path):
     return seafserv_threaded_rpc.get_dirent_by_path(repo_id, path)
Example #4
0
 def get_dirent_by_path(self, repo_id, path):
     """
     Return: a Dirent object (lib/dirent.vala)
     """
     return seafserv_threaded_rpc.get_dirent_by_path(repo_id, path)
Example #5
0
 def get_dirent_by_path(self, repo_id, path):
     return seafserv_threaded_rpc.get_dirent_by_path(repo_id, path)
Example #6
0
 def get_dirent_by_path(self, repo_id, path):
     """
     Return: a Dirent object (lib/dirent.vala)
     """
     return seafserv_threaded_rpc.get_dirent_by_path(repo_id, path)