Blame


1 44edeea7 2019-04-11 stsp /*
2 44edeea7 2019-04-11 stsp * Copyright (c) 2019 Stefan Sperling <stsp@openbsd.org>
3 44edeea7 2019-04-11 stsp *
4 44edeea7 2019-04-11 stsp * Permission to use, copy, modify, and distribute this software for any
5 44edeea7 2019-04-11 stsp * purpose with or without fee is hereby granted, provided that the above
6 44edeea7 2019-04-11 stsp * copyright notice and this permission notice appear in all copies.
7 44edeea7 2019-04-11 stsp *
8 44edeea7 2019-04-11 stsp * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 44edeea7 2019-04-11 stsp * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 44edeea7 2019-04-11 stsp * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 44edeea7 2019-04-11 stsp * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 44edeea7 2019-04-11 stsp * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 44edeea7 2019-04-11 stsp * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 44edeea7 2019-04-11 stsp * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 44edeea7 2019-04-11 stsp */
16 44edeea7 2019-04-11 stsp
17 0a22ca1a 2020-09-23 stsp const struct got_error *got_object_blob_file_create(struct got_object_id **,
18 72840534 2022-01-19 stsp FILE **, off_t *, const char *);
19 44edeea7 2019-04-11 stsp const struct got_error *got_object_blob_create(struct got_object_id **,
20 f970685c 2019-04-13 stsp const char *, struct got_repository *);
21 56e0773d 2019-11-28 stsp
22 f91abf81 2019-04-14 stsp const struct got_error *got_object_tree_create(struct got_object_id **,
23 56e0773d 2019-11-28 stsp struct got_pathlist_head *, int, struct got_repository *);
24 56e0773d 2019-11-28 stsp
25 de18fc63 2019-05-09 stsp const struct got_error *got_object_commit_create(struct got_object_id **,
26 de18fc63 2019-05-09 stsp struct got_object_id *, struct got_object_id_queue *, int,
27 de18fc63 2019-05-09 stsp const char *, time_t, const char *, time_t, const char *,
28 de18fc63 2019-05-09 stsp struct got_repository *);