separate RemoteConfig parsing basically working
Many special remotes are not updated yet and are commented out.
This commit is contained in:
parent
71f78fe45d
commit
963239da5c
26 changed files with 282 additions and 212 deletions
|
@ -28,7 +28,6 @@ import Utility.Metered
|
|||
import Crypto (EncKey)
|
||||
import Backend (isStableKey)
|
||||
import Annex.SpecialRemote.Config
|
||||
import Config.RemoteConfig
|
||||
|
||||
import qualified Data.ByteString.Lazy as L
|
||||
|
||||
|
@ -52,8 +51,8 @@ noChunks _ = False
|
|||
|
||||
chunkConfigParser :: [RemoteConfigParser]
|
||||
chunkConfigParser =
|
||||
[ optStringParser chunksizeField
|
||||
, optStringParser chunkField
|
||||
[ optionalStringParser chunksizeField
|
||||
, optionalStringParser chunkField
|
||||
]
|
||||
|
||||
getChunkConfig :: ParsedRemoteConfig -> ChunkConfig
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue