1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-17 07:40:25 +00:00

Add download file API (#696)

* Add download file API

* Go add download file API

* Set http header and return http error

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
feiniks
2024-09-12 11:02:41 +08:00
committed by GitHub
parent f0c95b4e77
commit b2bde11d89
5 changed files with 430 additions and 37 deletions

View File

@@ -51,4 +51,8 @@ http_tx_manager_get_nickname (const char *modifier);
SeafileShareLinkInfo *
http_tx_manager_query_share_link_info (const char *token, const char *cookie, const char *type);
int
http_tx_manager_check_file_access (const char *repo_id, const char *token, const char *cookie,
const char *path, const char *op, char **user);
#endif