1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-12 12:13:31 +00:00
seafile-server/server/gc/gc-core.h
feiniks 5899f110b9
Add online gc (#706)
* 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>
2024-10-24 18:34:16 +08:00

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