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.
This commit is contained in:
Joey Hess 2015-08-19 14:13:19 -04:00
parent fb8fec2a7b
commit 6dad09a823
2 changed files with 8 additions and 4 deletions

View file

@ -8,6 +8,7 @@
module Remote.Helper.Chunked (
ChunkSize,
ChunkConfig(..),
noChunks,
describeChunkConfig,
getChunkConfig,
storeChunks,