mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Now that reftable blocks can be read individually via the public interface it becomes necessary for callers to be able to distinguish the different types of blocks. Expose the relevant constants. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
19 lines
481 B
C
19 lines
481 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 REFTABLE_CONSTANTS_H
|
|
#define REFTABLE_CONSTANTS_H
|
|
|
|
#define REFTABLE_BLOCK_TYPE_LOG 'g'
|
|
#define REFTABLE_BLOCK_TYPE_INDEX 'i'
|
|
#define REFTABLE_BLOCK_TYPE_REF 'r'
|
|
#define REFTABLE_BLOCK_TYPE_OBJ 'o'
|
|
#define REFTABLE_BLOCK_TYPE_ANY 0
|
|
|
|
#endif /* REFTABLE_CONSTANTS_H */
|