forked from lix-project/lix
Delete dead code
The references set seems to have been unused since `LegacySSHStore` references were first created incaa5793b4a
. The method decls never were upstream, and accidentally added by me in062533f7cd
(probably due to `git rerere`). Sorry! This reduces the diff from #3746.
This commit is contained in:
parent
a31d7d4e5e
commit
e21aa43212
|
@ -134,7 +134,6 @@ struct LegacySSHStore : public virtual LegacySSHStoreConfig, public virtual Stor
|
||||||
/* Hash will be set below. FIXME construct ValidPathInfo at end. */
|
/* Hash will be set below. FIXME construct ValidPathInfo at end. */
|
||||||
auto info = std::make_shared<ValidPathInfo>(path, Hash::dummy);
|
auto info = std::make_shared<ValidPathInfo>(path, Hash::dummy);
|
||||||
|
|
||||||
PathSet references;
|
|
||||||
auto deriver = readString(conn->from);
|
auto deriver = readString(conn->from);
|
||||||
if (deriver != "")
|
if (deriver != "")
|
||||||
info->deriver = parseStorePath(deriver);
|
info->deriver = parseStorePath(deriver);
|
||||||
|
|
|
@ -81,12 +81,6 @@ struct ValidPathInfo
|
||||||
/* Return true iff the path is verifiably content-addressed. */
|
/* Return true iff the path is verifiably content-addressed. */
|
||||||
bool isContentAddressed(const Store & store) const;
|
bool isContentAddressed(const Store & store) const;
|
||||||
|
|
||||||
/* Functions to view references + hasSelfReference as one set, mainly for
|
|
||||||
compatibility's sake. */
|
|
||||||
StorePathSet referencesPossiblyToSelf() const;
|
|
||||||
void insertReferencePossiblyToSelf(StorePath && ref);
|
|
||||||
void setReferencesPossiblyToSelf(StorePathSet && refs);
|
|
||||||
|
|
||||||
static const size_t maxSigs = std::numeric_limits<size_t>::max();
|
static const size_t maxSigs = std::numeric_limits<size_t>::max();
|
||||||
|
|
||||||
/* Return the number of signatures on this .narinfo that were
|
/* Return the number of signatures on this .narinfo that were
|
||||||
|
|
Loading…
Reference in a new issue