aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/hash.cc
diff options
context:
space:
mode:
authorCarlo Nucera <carlo.nucera@protonmail.com>2020-07-02 11:11:18 -0400
committerCarlo Nucera <carlo.nucera@protonmail.com>2020-07-02 11:11:18 -0400
commit9462d8a50b5443bc2dac616f94ded9ad37020094 (patch)
tree4bed8b3e45d8d1c160ce3f2d9af241b7164bc7a8 /src/libutil/hash.cc
parentf61bc45d192809a040a359b22f3dbd0722613af6 (diff)
Rename fromSRI to parseSRI for constistency
Diffstat (limited to 'src/libutil/hash.cc')
-rw-r--r--src/libutil/hash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/hash.cc b/src/libutil/hash.cc
index 2f006ce1e..a077d40a0 100644
--- a/src/libutil/hash.cc
+++ b/src/libutil/hash.cc
@@ -132,7 +132,7 @@ std::string Hash::to_string(Base base, bool includeType) const
return s;
}
-Hash Hash::fromSRI(std::string_view original) {
+Hash Hash::parseSRI(std::string_view original) {
auto rest = original;
// Parse the has type before the separater, if there was one.