mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-30 19:15:14 +00:00
Merge pull request #1797 from ethomson/keep_hash_ctx_private
Don't expose git_hash_ctx since it's internal
This commit is contained in:
commit
eb04744621
@ -65,8 +65,6 @@ typedef enum {
|
|||||||
GIT_STREAM_RW = (GIT_STREAM_RDONLY | GIT_STREAM_WRONLY),
|
GIT_STREAM_RW = (GIT_STREAM_RDONLY | GIT_STREAM_WRONLY),
|
||||||
} git_odb_stream_t;
|
} git_odb_stream_t;
|
||||||
|
|
||||||
typedef struct git_hash_ctx git_hash_ctx;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A stream to read/write from a backend.
|
* A stream to read/write from a backend.
|
||||||
*
|
*
|
||||||
@ -78,7 +76,7 @@ typedef struct git_hash_ctx git_hash_ctx;
|
|||||||
struct git_odb_stream {
|
struct git_odb_stream {
|
||||||
git_odb_backend *backend;
|
git_odb_backend *backend;
|
||||||
unsigned int mode;
|
unsigned int mode;
|
||||||
git_hash_ctx *hash_ctx;
|
void *hash_ctx;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Write at most `len` bytes into `buffer` and advance the
|
* Write at most `len` bytes into `buffer` and advance the
|
||||||
|
Loading…
Reference in New Issue
Block a user