Skip to content

Commit

Permalink
Fix preserving expanded-at on clerk/show
Browse files Browse the repository at this point in the history
  • Loading branch information
zampino committed Aug 24, 2023
1 parent 02dd0fc commit 8a0e1ff
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/nextjournal/clerk/analyzer.clj
Original file line number Diff line number Diff line change
Expand Up @@ -609,9 +609,10 @@
(let [digest-fn (case hash-type
:sha1 sha1-base58
:sha512 sha2-base58)]
(-> value
nippy/fast-freeze
digest-fn))))
(binding [nippy/*incl-metadata?* false]
(-> value
nippy/fast-freeze
digest-fn)))))

#_(valuehash (range 100))
#_(valuehash :sha1 (range 100))
Expand Down

0 comments on commit 8a0e1ff

Please sign in to comment.