git.fiddlerwoaroof.com
Browse code

feat: repository generic function turns a repository into itself

Edward Langley authored on 02/11/2023 07:54:26
Showing 1 changed files
... ...
@@ -81,6 +81,8 @@
81 81
 
82 82
 (defgeneric repository (object)
83 83
   (:documentation "get the repository for an object")
84
+  (:method ((root repository))
85
+    root)
84 86
   (:method ((root pathname))
85 87
     (resolve-repository root))
86 88
   (:method ((root string))