Skip to content

Commit ea6568e

Browse files
committed
[repository] implement several functions
1 parent 3686682 commit ea6568e

File tree

2 files changed

+202
-122
lines changed

2 files changed

+202
-122
lines changed

Diff for: php_git2.h

+4
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ enum php_git2_resource_type {
8585
PHP_GIT2_TYPE_CONFIG,
8686
PHP_GIT2_TYPE_OBJECT,
8787
PHP_GIT2_TYPE_INDEX,
88+
PHP_GIT2_TYPE_ODB,
89+
PHP_GIT2_TYPE_REFDB,
8890
};
8991

9092
typedef struct php_git2_t {
@@ -101,6 +103,8 @@ typedef struct php_git2_t {
101103
git_config *config;
102104
git_object *object;
103105
git_index *index;
106+
git_odb *odb;
107+
git_refdb *refdb;
104108
} v;
105109
int should_free_v;
106110
int resource_id;

0 commit comments

Comments
 (0)