remove change that was accidentially committed
authorJoey Hess <joeyh@joeyh.name>
Tue, 15 Oct 2024 17:30:52 +0000 (13:30 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 15 Oct 2024 17:30:52 +0000 (13:30 -0400)
Remote/Directory.hs

index 868dc4361149cd8e20e9775a631de75ccf16b6fc..cebd5e61fe979fe658615d11c7c4f3e02b556a0f 100644 (file)
@@ -252,9 +252,9 @@ finalizeStoreGeneric d tmp dest = do
 
 retrieveKeyFileM :: RawFilePath -> ChunkConfig -> CopyCoWTried -> Retriever
 retrieveKeyFileM d (LegacyChunks _) _ = Legacy.retrieve locations' d
---retrieveKeyFileM d NoChunks cow = fileRetriever' $ \dest k p iv -> do
---     src <- liftIO $ fromRawFilePath <$> getLocation d k
---     void $ liftIO $ fileCopier cow src (fromRawFilePath dest) p iv
+retrieveKeyFileM d NoChunks cow = fileRetriever' $ \dest k p iv -> do
+       src <- liftIO $ fromRawFilePath <$> getLocation d k
+       void $ liftIO $ fileCopier cow src (fromRawFilePath dest) p iv
 retrieveKeyFileM d _ _ = byteRetriever $ \k sink ->
        sink =<< liftIO (L.readFile . fromRawFilePath =<< getLocation d k)