Browse code
chore: fewer :: again
Edward Langley authored on 08/11/2023 12:33:15
Showing 5 changed files
Showing 5 changed files
... | ... |
@@ -9,10 +9,10 @@ |
9 | 9 |
(:documentation |
10 | 10 |
"The base type for deltified git objects")) |
11 | 11 |
|
12 |
-(fwoar.cl-git::defclass+ ofs-delta (delta) |
|
12 |
+(fwoar.cl-git.utils:defclass+ ofs-delta (delta) |
|
13 | 13 |
()) |
14 | 14 |
|
15 |
-(fwoar.cl-git::defclass+ ref-delta (delta) |
|
15 |
+(fwoar.cl-git.utils:defclass+ ref-delta (delta) |
|
16 | 16 |
() |
17 | 17 |
(:documentation "TODO: mostly unimplemented/untested")) |
18 | 18 |
|
... | ... |
@@ -125,7 +125,7 @@ |
125 | 125 |
(defmethod component ((component (eql :hash)) (object git-object)) |
126 | 126 |
(hash object)) |
127 | 127 |
|
128 |
-(fw.lu:defclass+ blob (fwoar.cl-git::git-object) |
|
128 |
+(fwoar.cl-git.utils:defclass+ blob (fwoar.cl-git::git-object) |
|
129 | 129 |
((%data :reader data :initarg :data))) |
130 | 130 |
(defmethod -extract-object-of-type ((type (eql :blob)) s repository &key) |
131 | 131 |
(blob s)) |
... | ... |
@@ -21,25 +21,20 @@ |
21 | 21 |
(:export #:pack #:pack-file #:index-file #:idx-toc |
22 | 22 |
#:with-pack-streams #:seek-to-object-in-pack #:packed-ref |
23 | 23 |
#:packed-ref-pack #:packed-ref-offset #:extract-object #:git-ref |
24 |
- #:loose-ref |
|
25 |
- #:extract-object-at-pos)) |
|
24 |
+ #:loose-ref #:extract-object-at-pos #:raw-object-for-ref)) |
|
26 | 25 |
|
27 | 26 |
(defpackage :fwoar.cl-git.ref |
28 | 27 |
(:use :cl :fwoar.cl-git.protocol) |
29 |
- (:export #:git-ref #:loose-ref |
|
30 |
- #:ref-repo |
|
31 |
- #:ref-hash |
|
32 |
- #:loose-ref-file)) |
|
28 |
+ (:export #:git-ref #:loose-ref #:ref-repo #:ref-hash #:loose-ref-file)) |
|
33 | 29 |
|
34 | 30 |
(defpackage :fwoar.cl-git |
35 | 31 |
(:use :cl :fwoar.cl-git.protocol) |
36 | 32 |
(:import-from :fwoar.cl-git.commit #:git-commit) |
37 | 33 |
(:import-from :fwoar.cl-git.pack #:packed-ref) |
38 | 34 |
(:import-from :fwoar.cl-git.ref #:git-ref #:loose-ref #:ref-hash #:ref-repo) |
39 |
- (:export #:ensure-ref #:repository #:*want-delta* #:git-object |
|
40 |
- #:hash #:*git-encoding* #:git-commit #:ref #:component |
|
41 |
- #:*git-repository* #:git-ref #:extract-object #:git-tree |
|
42 |
- #:blob)) |
|
35 |
+ (:export #:ensure-ref #:repository #:*want-delta* #:git-object #:hash |
|
36 |
+ #:*git-encoding* #:git-commit #:ref #:component #:*git-repository* |
|
37 |
+ #:git-ref #:extract-object #:git-tree #:blob)) |
|
43 | 38 |
|
44 | 39 |
(defpackage :fwoar.cl-git.types |
45 | 40 |
(:use :cl ) |
... | ... |
@@ -272,7 +272,7 @@ |
272 | 272 |
"cab7cafae3b61c5b101ee914cd4f5c8357e77fad" |
273 | 273 |
"f03a8d1b4cea085ee9555037d09bca2dbfb990cb"))) |
274 | 274 |
(loop for commit in shas |
275 |
- for obj = (fwoar.cl-git.pack::raw-object-for-ref |
|
275 |
+ for obj = (fwoar.cl-git.pack:raw-object-for-ref |
|
276 | 276 |
(fwoar.cl-git:ref :fwoar.cl-git.git-objects.pack-2 commit)) |
277 | 277 |
do (5am:is (equal (crypto:byte-array-to-hex-string |
278 | 278 |
(crypto:digest-sequence :sha1 obj)) |
... | ... |
@@ -96,5 +96,6 @@ |
96 | 96 |
|
97 | 97 |
(defpackage :fwoar.cl-git.utils |
98 | 98 |
(:use :cl) |
99 |
- (:import-from :fwoar.cl-git #:partition-subseq #:sym->plist #:read-bytes) |
|
100 |
- (:export #:partition-subseq #:sym->plist #:read-bytes)) |
|
99 |
+ (:import-from :fwoar.cl-git #:partition-subseq #:sym->plist #:read-bytes |
|
100 |
+ #:defclass+) |
|
101 |
+ (:export #:partition-subseq #:sym->plist #:read-bytes #:defclass+)) |