Skip to content

Commit

Permalink
feat: repository generic function turns a repository into itself
Browse files Browse the repository at this point in the history
  • Loading branch information
fiddlerwoaroof committed Nov 2, 2023
1 parent 582a22c commit f5f8883
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions model.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@

(defgeneric repository (object)
(:documentation "get the repository for an object")
(:method ((root repository))
root)
(:method ((root pathname))
(resolve-repository root))
(:method ((root string))
Expand Down

0 comments on commit f5f8883

Please sign in to comment.