mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-05 01:11:05 +00:00
Add list_dir_with_perm() to seafile_api.
This commit is contained in:
@@ -221,6 +221,9 @@ class SeafileAPI(object):
|
|||||||
def get_dir_id_by_commit_and_path(self, repo_id, commit_id, path):
|
def get_dir_id_by_commit_and_path(self, repo_id, commit_id, path):
|
||||||
return seafserv_threaded_rpc.get_dir_id_by_commit_and_path(repo_id, commit_id, path)
|
return seafserv_threaded_rpc.get_dir_id_by_commit_and_path(repo_id, commit_id, path)
|
||||||
|
|
||||||
|
def list_dir_with_perm(self, repo_id, dir_path, dir_id, user, offset=-1, limit=-1):
|
||||||
|
return seafserv_threaded_rpc.list_dir_with_perm (repo_id, dir_path, dir_id, user, offset, limit)
|
||||||
|
|
||||||
# file/dir operations
|
# file/dir operations
|
||||||
|
|
||||||
def post_file(self, repo_id, tmp_file_path, parent_dir, filename, username):
|
def post_file(self, repo_id, tmp_file_path, parent_dir, filename, username):
|
||||||
|
Reference in New Issue
Block a user