summaryrefslogtreecommitdiff
path: root/Remote/Helper/Chunked.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-08-19 14:13:19 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-08-19 14:16:01 -0400
commitc4e9c34f3022ab6f4bcc0ad6f860bbd68fe97e50 (patch)
tree117963ca764616b5f4738a48866626d876badb1d /Remote/Helper/Chunked.hs
parentb742823f8ffbadf1a23b7ea393201b5811cb850e (diff)
disable whereisKey for encrypted or chunked remotes
This only makes sense for public repos, that are not chunked, so that there's a 1:1 from Key in the git-annex repo to file on the remote. Rather than making every remote implementation deal with that, just disable whereisKey when it doesn't make sense.
Diffstat (limited to 'Remote/Helper/Chunked.hs')
-rw-r--r--Remote/Helper/Chunked.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Remote/Helper/Chunked.hs b/Remote/Helper/Chunked.hs
index 23ed3dbf8..7692abeb5 100644
--- a/Remote/Helper/Chunked.hs
+++ b/Remote/Helper/Chunked.hs
@@ -8,6 +8,7 @@
module Remote.Helper.Chunked (
ChunkSize,
ChunkConfig(..),
+ noChunks,
describeChunkConfig,
getChunkConfig,
storeChunks,