Skip to content

Commit

Permalink
Hash.toUnprefixedString
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Aug 11, 2023
1 parent f9a0308 commit 4cb4d10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Code/Hash.elm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module Code.Hash exposing
, toShortString
, toString
, toUnprefixedShortString
, toUnprefixedString
, toUrlString
, unsafeFromString
, urlParser
Expand Down Expand Up @@ -98,6 +99,11 @@ toShortString h =
toShortString_ prefix h


toUnprefixedString : Hash -> String
toUnprefixedString h =
toString_ "" identity h


toUnprefixedShortString : Hash -> String
toUnprefixedShortString h =
toShortString_ "" h
Expand Down

0 comments on commit 4cb4d10

Please sign in to comment.