Remove unused struct in libstore
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
This commit is contained in:
parent
686ee74f09
commit
d64cb33e90
|
@ -130,17 +130,6 @@ AutoCloseFD openFile(const Path & path)
|
||||||
return fd;
|
return fd;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct FileSource : FdSource
|
|
||||||
{
|
|
||||||
AutoCloseFD fd2;
|
|
||||||
|
|
||||||
FileSource(const Path & path)
|
|
||||||
: fd2(openFile(path))
|
|
||||||
{
|
|
||||||
fd = fd2.get();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
ref<const ValidPathInfo> BinaryCacheStore::addToStoreCommon(
|
ref<const ValidPathInfo> BinaryCacheStore::addToStoreCommon(
|
||||||
Source & narSource, RepairFlag repair, CheckSigsFlag checkSigs,
|
Source & narSource, RepairFlag repair, CheckSigsFlag checkSigs,
|
||||||
std::function<ValidPathInfo(HashResult)> mkInfo)
|
std::function<ValidPathInfo(HashResult)> mkInfo)
|
||||||
|
|
Loading…
Reference in a new issue