diff options
author | Carlo Nucera <carlo.nucera@protonmail.com> | 2020-07-02 11:11:18 -0400 |
---|---|---|
committer | Carlo Nucera <carlo.nucera@protonmail.com> | 2020-07-02 11:11:18 -0400 |
commit | 9462d8a50b5443bc2dac616f94ded9ad37020094 (patch) | |
tree | 4bed8b3e45d8d1c160ce3f2d9af241b7164bc7a8 /src/libutil/hash.hh | |
parent | f61bc45d192809a040a359b22f3dbd0722613af6 (diff) |
Rename fromSRI to parseSRI for constistency
Diffstat (limited to 'src/libutil/hash.hh')
-rw-r--r-- | src/libutil/hash.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/hash.hh b/src/libutil/hash.hh index 4e3591a04..d321cc8e1 100644 --- a/src/libutil/hash.hh +++ b/src/libutil/hash.hh @@ -45,7 +45,7 @@ struct Hash // prefix parsed separately; non SRI hash static Hash parseAnyUnprefixed(std::string_view s, HashType type); - static Hash fromSRI(std::string_view original); + static Hash parseSRI(std::string_view original); private: // type must be provided, s must not include <type> prefix |