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

Add --rm-fs option for gc (#541)

* Add --rm-fs option for gc

* Use local variables and print fs number

* Modify return value to gint64
This commit is contained in:
feiniks
2022-02-12 09:57:53 +08:00
committed by GitHub
parent 1fe89ff710
commit df591aa8c2
3 changed files with 177 additions and 51 deletions

View File

@@ -1,7 +1,7 @@
#ifndef GC_CORE_H
#define GC_CORE_H
int gc_core_run (GList *repo_id_list, int dry_run, int verbose);
int gc_core_run (GList *repo_id_list, int dry_run, int verbose, int rm_fs);
void
delete_garbaged_repos (int dry_run);