aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/path-info.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-02-28 11:34:18 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-02-28 11:34:18 -0500
commitc36b584f8eb103afa152ef4304cf9fd5c3ebaaf0 (patch)
tree21ee40a711110d7ed657aed4c38c74973385ea3c /src/libstore/path-info.cc
parent87ca46263dbf88eb8ee606078738bde348689bc6 (diff)
Fix typo in the method name
Diffstat (limited to 'src/libstore/path-info.cc')
-rw-r--r--src/libstore/path-info.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/path-info.cc b/src/libstore/path-info.cc
index ff85b3932..074b50818 100644
--- a/src/libstore/path-info.cc
+++ b/src/libstore/path-info.cc
@@ -21,7 +21,7 @@ void ValidPathInfo::sign(const Store & store, const SecretKey & secretKey)
sigs.insert(secretKey.signDetached(fingerprint(store)));
}
-std::optional<ContentAddressWithReferences> ValidPathInfo::contentAddressWithReferenences() const
+std::optional<ContentAddressWithReferences> ValidPathInfo::contentAddressWithReferences() const
{
if (! ca)
return std::nullopt;
@@ -54,7 +54,7 @@ std::optional<ContentAddressWithReferences> ValidPathInfo::contentAddressWithRef
bool ValidPathInfo::isContentAddressed(const Store & store) const
{
- auto fullCaOpt = contentAddressWithReferenences();
+ auto fullCaOpt = contentAddressWithReferences();
if (! fullCaOpt)
return false;