mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
feat(index): add binding and API method for git_index_new (#33)
This commit is contained in:
parent
02ac220d46
commit
cc78e7945f
3 changed files with 24 additions and 0 deletions
|
@ -29,6 +29,10 @@ void main() {
|
|||
const fileSha = 'e69de29bb2d1d6434b8b29ae775ad8c2e48c5391';
|
||||
const featureFileSha = '9c78c21d6680a7ffebc76f7ac68cacc11d8f48bc';
|
||||
|
||||
test('creates new in memory index object', () {
|
||||
expect(Index.newInMemory(), isA<Index>());
|
||||
});
|
||||
|
||||
test('returns full path to the index file on disk', () {
|
||||
expect(index.path, p.join(repo.path, 'index'));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue