Revision f1ed9d7dc0e49dc1a044941d821c9d2342313c26 authored by Junio C Hamano on 15 August 2023, 17:20:02 UTC, committed by Junio C Hamano on 15 August 2023, 17:20:02 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent f9fe84b
Raw File
diagnose.h
#ifndef DIAGNOSE_H
#define DIAGNOSE_H

#include "strbuf.h"

struct option;

enum diagnose_mode {
	DIAGNOSE_NONE,
	DIAGNOSE_STATS,
	DIAGNOSE_ALL
};

int option_parse_diagnose(const struct option *opt, const char *arg, int unset);

int create_diagnostics_archive(struct strbuf *zip_path, enum diagnose_mode mode);

#endif /* DIAGNOSE_H */
back to top