Commit graph

41 commits

Author SHA1 Message Date
Aleksey Kulikov
e9e70cfc62
refactor(git_types): use enums (#53)
Use Dart's new feature "Enhanced enums with members".
2022-05-05 13:12:47 +03:00
Aleksey Kulikov
9d61584165 docs: update docs for bindings and api 2022-04-28 16:04:30 +03:00
Aleksey Kulikov
a3213a88a2
refactor!: use Finalizer to automatically free allocated memory for objects (#48)
BREAKING CHANGE: signature change for remote and repository callbacks during repository clone operation.
2022-04-28 11:04:48 +03:00
Aleksey Kulikov
2eb50dec69 style: stricter linting 2022-02-23 11:05:14 +03:00
Aleksey Kulikov
08cbe8a17f
refactor!: use class names instead of aliases from Repository in tests (#37)
BREAKING CHANGE: move API methods related to diffing into Diff class
2022-01-25 12:05:34 +03:00
Aleksey Kulikov
6fe24dcb65
feat(index): add ability to create diff between two indexes (#34) 2022-01-14 18:44:14 +03:00
Aleksey Kulikov
cc78e7945f
feat(index): add binding and API method for git_index_new (#33) 2022-01-14 15:08:45 +03:00
Aleksey Kulikov
5264153749
feat(index): add more bindings and api methods (#17) 2021-12-11 14:45:59 +03:00
Aleksey Kulikov
4717aab57f style: stricter linting 2021-10-23 12:31:18 +03:00
Aleksey Kulikov
7b14ee6b9b style: avoid lines longer than 80 characters 2021-10-22 17:13:42 +03:00
Aleksey Kulikov
a806d0a312 style: sort imports alphabetically 2021-10-22 15:10:04 +03:00
Aleksey Kulikov
a24070c44c docs: improve api documentation 2021-10-22 14:41:15 +03:00
Aleksey Kulikov
127849519d test: add more tests for throws and their messages 2021-10-19 17:16:39 +03:00
Aleksey Kulikov
d6eae1e9ed test: improve coverage 2021-10-15 17:37:38 +03:00
Aleksey Kulikov
9f346c99f7 feat: add more toString overrides for debugging 2021-10-13 19:23:34 +03:00
Aleksey Kulikov
1972c6d1ab refactor!: use Oid instead of String for arguments 2021-10-13 15:31:20 +03:00
Aleksey Kulikov
20ca75639d refactor: remove unnecessary local variables 2021-10-12 19:21:58 +03:00
Aleksey Kulikov
cfa5268af2 style: use "map/where" instead of "for" loop 2021-10-12 14:56:56 +03:00
Aleksey Kulikov
3a0fa75929 feat(repository)!: add more aliases for api methods
BREAKING CHANGE: Make repository entry point for most operations
2021-10-11 20:06:36 +03:00
Aleksey Kulikov
03e2922517 style: remove unnecessary imports 2021-10-08 18:34:58 +03:00
Aleksey Kulikov
52707dcc63 feat(merge): add ability to merge file from index 2021-10-04 12:23:48 +03:00
Aleksey Kulikov
5f7fdf4bd3 refactor!: use named arguments if there is more than one 2021-09-30 18:04:36 +03:00
Aleksey Kulikov
7187d890d6 style: use conts for constructors 2021-09-23 10:48:23 +03:00
Aleksey Kulikov
cf677e488a refactor!: use IterableMixin where possible 2021-09-20 13:03:43 +03:00
Aleksey Kulikov
a7b714c2f3 feat(diff): add bindings and api 2021-09-14 19:55:25 +03:00
Aleksey Kulikov
7618f944c0 refactor!: return sets of git type flags instead of integers 2021-09-10 20:22:02 +03:00
Aleksey Kulikov
458c0bdc71 feat: override toString with relevant information for debugging 2021-09-10 12:03:37 +03:00
Aleksey Kulikov
63dabcdd2c feat(merge): add more bindings and api methods 2021-09-09 14:39:40 +03:00
Aleksey Kulikov
2cf974c624 feat(repository): add ability to lookup different types of git objects with [] 2021-09-04 12:04:28 +03:00
Aleksey Kulikov
da3bda077a refactor: use classes instead of enums for git types 2021-09-03 18:19:44 +03:00
Aleksey Kulikov
5675f9265c style: use fat arrow for single-line methods 2021-09-02 14:17:44 +03:00
Aleksey Kulikov
84ee4be945 feat(tree): add bindings and api 2021-09-02 11:58:14 +03:00
Aleksey Kulikov
e0e3742457 refactor: pass repository object to arguments instead of pointer 2021-08-30 17:14:52 +03:00
Aleksey Kulikov
94b4116adf feat(commit): add ability to create commit with different number of parents 2021-08-30 16:45:37 +03:00
Aleksey Kulikov
3bbcca3c75 feat(oid): expand short sha by looking up in ODB 2021-08-25 19:25:05 +03:00
Aleksey Kulikov
d0bb7aaa0f refactor: change filename according to function 2021-08-24 19:19:34 +03:00
Aleksey Kulikov
dc5f510aa5 feat(commit): add base bindings and api 2021-08-24 19:08:12 +03:00
Aleksey Kulikov
0194d7c361 feat(index): add ability to read tree and write tree 2021-08-12 17:14:17 +03:00
Aleksey Kulikov
627519a31f refactor(index): use enum for file modes 2021-08-11 17:17:09 +03:00
Aleksey Kulikov
06b44597d5 feat(index): add ability to change attributes of index entry 2021-08-11 12:55:04 +03:00
Aleksey Kulikov
5b8f089723 feat(index): add base bindings and api 2021-08-10 20:19:24 +03:00