Commit Graph

14 Commits

Author SHA1 Message Date
Carlos Martín Nieto b7159b0cd4 Move from an Object interface to a type
An Object should be about representing a libgit2 object rather than
showing which methods it should support.

Change any return of Object to *Object and provide methods to convert
between this and the particular type.
2015-08-04 14:47:10 +02:00
taylorchu 53c158fbd7 Fix test error messages 2015-05-30 22:27:08 +02:00
Carlos Martín Nieto 72c19f73c9 Index: Add Path() accessor 2015-05-19 15:05:00 +02:00
Carlos Martín Nieto d7a0495000 Index: Add OpenIndex
This lets you persist an index at an arbitrary location.
2015-05-19 14:56:01 +02:00
Carlos Martín Nieto a8ad0d2040 Index: Add ReadTree() 2015-05-19 14:49:05 +02:00
Patrick Steinhardt e300945a3d tests: always clean up temporary repository dirs
Some test repositories are not correctly removed after the tests
did run. Fix by introducing a function that is to be used for
cleaning up temporary test repositories.
2015-04-24 13:01:51 +02:00
Lucas Clemente 9d37f81764 implemented Index.AddAll, Index.RemoveAll, Index.UpdateAll 2014-10-24 21:55:08 +02:00
Carlos Martín Nieto f953d4e5c7 Index: add functions to handle the data structure
Index is not just the index file
2014-05-25 18:12:50 +02:00
Jesse Ezell 1f3f8adda8 Add index WriteTreeTo + test 2014-03-20 20:49:05 -07:00
Vicent Marti 7292cafac2 Add @carlosmn's tests 2013-04-16 23:18:35 +02:00
Carlos Martín Nieto d5a5467738 Delete the whole test dir 2013-03-07 21:01:22 +01:00
Carlos Martín Nieto 1a79563794 Factor out creating the test repo 2013-03-07 21:01:21 +01:00
mrb ac17e28633 Fixed renamed func in index_test 2013-03-06 13:06:00 -05:00
Carlos Martín Nieto 23ba0f1e6d Test the index code slightly 2013-03-06 13:39:53 +01:00