Blame


1 2df845d5 2023-07-07 op /*
2 2df845d5 2023-07-07 op * Copyright (c) 2023 Omar Polo <op@openbsd.org>
3 2df845d5 2023-07-07 op *
4 2df845d5 2023-07-07 op * Permission to use, copy, modify, and distribute this software for any
5 2df845d5 2023-07-07 op * purpose with or without fee is hereby granted, provided that the above
6 2df845d5 2023-07-07 op * copyright notice and this permission notice appear in all copies.
7 2df845d5 2023-07-07 op *
8 2df845d5 2023-07-07 op * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 2df845d5 2023-07-07 op * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 2df845d5 2023-07-07 op * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 2df845d5 2023-07-07 op * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 2df845d5 2023-07-07 op * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 2df845d5 2023-07-07 op * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 2df845d5 2023-07-07 op * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 2df845d5 2023-07-07 op */
16 2df845d5 2023-07-07 op
17 2df845d5 2023-07-07 op /* Output a bundle to the given file. */
18 2df845d5 2023-07-07 op const struct got_error *
19 2df845d5 2023-07-07 op got_repo_dump(FILE *out, struct got_reflist_head *include_refs,
20 2df845d5 2023-07-07 op struct got_reflist_head *exclude_refs, struct got_repository *repo,
21 2df845d5 2023-07-07 op got_pack_progress_cb progress_cb, void *progress_arg,
22 2df845d5 2023-07-07 op got_cancel_cb cancel_cb, void *cancel_arg);