mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-08-12 12:13:31 +00:00
* Add online gc core * Add check gc when update repo * Go add check gc when update repo * Add gc unit test * Support set pwd_hash for gc and fsck * Optimize to check if block exists --------- Co-authored-by: 杨赫然 <heran.yang@seafile.com>
11 lines
236 B
C
11 lines
236 B
C
#ifndef GC_CORE_H
|
|
#define GC_CORE_H
|
|
|
|
int gc_core_run (GList *repo_id_list, const char *id_prefix,
|
|
int dry_run, int verbose, int thread_num, int rm_fs);
|
|
|
|
void
|
|
delete_garbaged_repos (int dry_run, int thread_num);
|
|
|
|
#endif
|