mirror of
https://github.com/git/git
synced 2024-11-04 16:17:49 +00:00
be4c070a3c
Convert the reftable library to use the `reftable_buf` interface instead of the `strbuf` interface. This is mostly a mechanical change via sed(1) with some manual fixes where functions for `strbuf` and `reftable_buf` differ. The converted code does not yet handle allocation failures. This will be handled in subsequent commits. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Taylor Blau <me@ttaylorr.com>
22 lines
498 B
C
22 lines
498 B
C
/*
|
|
Copyright 2020 Google LLC
|
|
|
|
Use of this source code is governed by a BSD-style
|
|
license that can be found in the LICENSE file or at
|
|
https://developers.google.com/open-source/licenses/bsd
|
|
*/
|
|
|
|
#ifndef SYSTEM_H
|
|
#define SYSTEM_H
|
|
|
|
/* This header glues the reftable library to the rest of Git */
|
|
|
|
#include "git-compat-util.h"
|
|
#include "lockfile.h"
|
|
#include "tempfile.h"
|
|
#include "hash.h" /* hash ID, sizes.*/
|
|
#include "dir.h" /* remove_dir_recursively, for tests.*/
|
|
|
|
int hash_size(uint32_t id);
|
|
|
|
#endif
|