Files
libgit2/include/git2
Russell Belfer 58206c9ae7 Add cat-file example and increase const use in API
This adds an example implementation that emulates git cat-file.
It is a convenient and relatively simple example of getting data
out of a repository.

Implementing this also revealed that there are a number of APIs
that are still not using const pointers to objects that really
ought to be.  The main cause of this is that `git_vector_bsearch`
may need to call `git_vector_sort` before doing the search, so a
const pointer to the vector is not allowed.  However, for tree
objects, with a little care, we can ensure that the vector of
tree entries is always sorted and allow lookups to take a const
pointer.  Also, the missing const in commit objects just looks
like an oversight.
2013-05-16 10:38:27 -07:00
..
2013-05-15 22:41:30 +02:00
2013-05-15 20:26:55 +08:00
2013-05-06 15:31:26 +03:00
2013-03-19 17:42:10 +01:00
2013-04-24 20:25:57 +02:00
2013-05-15 20:26:55 +08:00
2013-04-24 20:25:57 +02:00
2013-05-07 04:44:08 -07:00
2013-01-08 17:31:27 -06:00
2013-05-15 16:25:11 -07:00
2013-05-15 20:26:55 +08:00
2013-05-15 22:41:30 +02:00
2013-01-08 17:31:27 -06:00
2013-04-10 16:56:32 +02:00
2013-04-29 18:20:58 -07:00
2013-05-15 22:41:30 +02:00
2013-02-15 13:12:16 +01:00
2013-01-08 17:31:27 -06:00
2013-04-30 12:04:59 +02:00
2013-04-30 12:04:59 +02:00
2013-05-15 20:26:55 +08:00
2013-05-15 20:26:55 +08:00
2013-04-15 23:54:28 +02:00
2013-04-15 13:29:40 -07:00
2013-01-08 17:31:27 -06:00
2013-01-08 17:31:27 -06:00
2013-05-15 20:26:55 +08:00
2013-01-08 17:31:27 -06:00
2013-05-15 22:41:30 +02:00
2013-05-11 11:20:37 +02:00
2013-04-16 17:45:12 +02:00