You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_(Note that errors are captured, but not handled. We hope your code is better than ours.)_
138
138
139
-
<1> Initialize an empty object database (ODB) ``frontend,'' which will act as a handle to the real ODB.
140
-
<2> Construct a `git_repository` around the empty ODB.
141
-
<3> Initialize a custom ODB backend.
142
-
<4> Set the repositoryto use the custom backend for its ODB.
139
+
<1> Initialize an empty object database (ODB) ``frontend,'' which will act as a container for the ``backends'' which are the ones doing the real work.
140
+
<2> Initialize a custom ODB backend.
141
+
<3> Add the backend to the frontend.
142
+
<4> Open a repository, and set it to use our ODB to look up objects.
143
143
144
144
But what is this `git_odb_backend_mine` thing?
145
-
Well, that's your own ODB implementation, and you can do whatever you want in there, so long as you fill in the `git_odb_backend` structure properly.
145
+
Well, that's the constructor for your own ODB implementation, and you can do whatever you want in there, so long as you fill in the `git_odb_backend` structure properly.
0 commit comments