diff options
| author | Shawn O. Pearce <spearce@spearce.org> | 2008-10-31 10:57:04 -0700 |
|---|---|---|
| committer | Shawn O. Pearce <spearce@spearce.org> | 2008-10-31 11:05:05 -0700 |
| commit | 1cd20d3af067093c571be764bef038be1a39b502 (patch) | |
| tree | 0ba17ded678e92f9150df14c2e9a310ff5a79baa /src/git_odb.h | |
| parent | 111d5ccf0bb010c4e8d7af3eedfa12ef4c5e265b (diff) | |
| download | libgit2-1cd20d3af067093c571be764bef038be1a39b502.tar.gz | |
Hide git_odb's internal structure from applcation code
This way only structures we ask the caller to allocate on their
call stack or which we want to allow them to use members from
are shown in the API docs.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'src/git_odb.h')
| -rw-r--r-- | src/git_odb.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/git_odb.h b/src/git_odb.h index b74eefdaa..4c3bbc923 100644 --- a/src/git_odb.h +++ b/src/git_odb.h @@ -50,16 +50,7 @@ GIT_BEGIN_DECL /** An open object database handle. */ -typedef struct git_odb { - /** Path to the "objects" directory. */ - const char *path; - - /** Alternate databases to search. */ - struct git_odb **alternates; - - /** Number of alternates available. */ - unsigned n_alternates; -} git_odb; +typedef struct git_odb git_odb; /** * Open an object database for read/write access. |
