Git fork
1#ifndef DIAGNOSE_H
2#define DIAGNOSE_H
3
4#include "strbuf.h"
5
6struct option;
7struct repository;
8
9enum diagnose_mode {
10 DIAGNOSE_NONE,
11 DIAGNOSE_STATS,
12 DIAGNOSE_ALL
13};
14
15int option_parse_diagnose(const struct option *opt, const char *arg, int unset);
16
17int create_diagnostics_archive(struct repository *r,
18 struct strbuf *zip_path,
19 enum diagnose_mode mode);
20
21#endif /* DIAGNOSE_H */