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
393 B
C
19 lines
393 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 CONSTANTS_H
|
|
#define CONSTANTS_H
|
|
|
|
#include "reftable-constants.h"
|
|
|
|
#define MAX_RESTARTS ((1 << 16) - 1)
|
|
#define DEFAULT_BLOCK_SIZE 4096
|
|
#define DEFAULT_GEOMETRIC_FACTOR 2
|
|
|
|
#endif
|