Browse code
refactor: more shuffling and exporting
Edward Langley authored on 08/11/2023 10:05:00
Showing 3 changed files
Showing 3 changed files
... | ... |
@@ -9,13 +9,13 @@ |
9 | 9 |
|
10 | 10 |
(defpackage :fwoar.cl-git.commit |
11 | 11 |
(:use :cl :fwoar.cl-git.protocol) |
12 |
- (:export #:git-commit)) |
|
12 |
+ (:export #:git-commit #:metadata #:data)) |
|
13 | 13 |
|
14 | 14 |
(defpackage :fwoar.cl-git |
15 | 15 |
(:use :cl :fwoar.cl-git.protocol) |
16 | 16 |
(:import-from :fwoar.cl-git.commit #:git-commit) |
17 | 17 |
(:export #:ensure-ref #:repository #:*want-delta* #:git-object |
18 |
- #:hash #:*git-encoding* #:git-commit)) |
|
18 |
+ #:hash #:*git-encoding* #:git-commit #:ref)) |
|
19 | 19 |
|
20 | 20 |
(defpackage :fwoar.cl-git.types |
21 | 21 |
(:use :cl ) |
... | ... |
@@ -29,5 +29,5 @@ |
29 | 29 |
(:use) |
30 | 30 |
(:export #:show #:branch #:branches #:commit-parents #:in-repository |
31 | 31 |
#:with-repository #:current-repository #:show-repository #:git |
32 |
- #:tree #:contents #:component #:rev-list #:repository |
|
33 |
- #:parents #:filter-tree)) |
|
32 |
+ #:tree #:contents #:component #:rev-list #:repository #:parents |
|
33 |
+ #:filter-tree)) |
... | ... |
@@ -26,7 +26,7 @@ |
26 | 26 |
:co.fwoar.cl-git |
27 | 27 |
"tests/sample-git-objects/hello-world-commit.git-obj") |
28 | 28 |
(make-instance 'fake-ref :hash "the-hash")))) |
29 |
- (5am:is (typep object 'fwoar.cl-git.commit::git-commit)) |
|
29 |
+ (5am:is (typep object 'fwoar.cl-git:git-commit)) |
|
30 | 30 |
(5am:is (equal "hello, git! |
31 | 31 |
" |
32 | 32 |
(component :message object))) |
... | ... |
@@ -91,7 +91,7 @@ |
91 | 91 |
(fiveam:is (equal *fake-repo* (fwoar.cl-git::ref-repo ref))) |
92 | 92 |
(fwoar.cl-git::extract-object ref)))) |
93 | 93 |
|
94 |
- (5am:is (typep object 'fwoar.cl-git.commit::git-commit)) |
|
94 |
+ (5am:is (typep object 'fwoar.cl-git:git-commit)) |
|
95 | 95 |
(5am:is (equal "hello, git! |
96 | 96 |
" |
97 | 97 |
(component :message object))) |