Portability | portable |
---|---|
Stability | experimental |
Maintainer | fuuzetsu@fuuzetsu.co.uk |
Safe Haskell | None |
Contains the decoding and encoding functionality for rtorrent state files. The files themselves are a bencoded set of data used by rtorrent.
- type StateMod = StateFile -> StateFile
- newtype ByteStringUtf8 = BS8 {
- _bs8 :: ByteString
- data CustomSeeding = CustomSeeding {}
- data StateFile = StateFile {
- _chokeHeuristicsDownLeech :: ByteStringUtf8
- _chokeHeuristicsDownSeed :: ByteStringUtf8
- _chokeHeuristicsUpLeech :: ByteStringUtf8
- _chokeHeuristicsUpSeed :: ByteStringUtf8
- _chunksDone :: Int
- _chunksWanted :: Int
- _complete :: Int
- _connectionLeech :: ByteStringUtf8
- _connectionSeed :: ByteStringUtf8
- _custom :: Maybe CustomSeeding
- _custom1 :: ByteStringUtf8
- _custom2 :: ByteStringUtf8
- _custom3 :: ByteStringUtf8
- _custom4 :: ByteStringUtf8
- _custom5 :: ByteStringUtf8
- _directory :: ByteStringUtf8
- _hashing :: Int
- _ignoreCommands :: Int
- _key :: Int
- _loadedFile :: ByteStringUtf8
- _priority :: Int
- _state :: Int
- _stateChanged :: Int
- _stateCounter :: Int
- _throttleName :: ByteStringUtf8
- _tiedToFile :: ByteStringUtf8
- _timestampFinished :: Int
- _timestampStarted :: Int
- _totalUploaded :: Int
- _views :: [ByteStringUtf8]
- bs8 :: Iso' ByteStringUtf8 ByteString
- seedingTime :: Lens' CustomSeeding ByteStringUtf8
- addTime :: Lens' CustomSeeding (Maybe ByteStringUtf8)
- views :: Lens' StateFile [ByteStringUtf8]
- totalUploaded :: Lens' StateFile Int
- timestampStarted :: Lens' StateFile Int
- timestampFinished :: Lens' StateFile Int
- tiedToFile :: Lens' StateFile ByteStringUtf8
- throttleName :: Lens' StateFile ByteStringUtf8
- stateCounter :: Lens' StateFile Int
- stateChanged :: Lens' StateFile Int
- state :: Lens' StateFile Int
- priority :: Lens' StateFile Int
- loadedFile :: Lens' StateFile ByteStringUtf8
- key :: Lens' StateFile Int
- ignoreCommands :: Lens' StateFile Int
- hashing :: Lens' StateFile Int
- directory :: Lens' StateFile ByteStringUtf8
- custom5 :: Lens' StateFile ByteStringUtf8
- custom4 :: Lens' StateFile ByteStringUtf8
- custom3 :: Lens' StateFile ByteStringUtf8
- custom2 :: Lens' StateFile ByteStringUtf8
- custom1 :: Lens' StateFile ByteStringUtf8
- custom :: Lens' StateFile (Maybe CustomSeeding)
- connectionSeed :: Lens' StateFile ByteStringUtf8
- connectionLeech :: Lens' StateFile ByteStringUtf8
- complete :: Lens' StateFile Int
- chunksWanted :: Lens' StateFile Int
- chunksDone :: Lens' StateFile Int
- chokeHeuristicsUpSeed :: Lens' StateFile ByteStringUtf8
- chokeHeuristicsUpLeech :: Lens' StateFile ByteStringUtf8
- chokeHeuristicsDownSeed :: Lens' StateFile ByteStringUtf8
- chokeHeuristicsDownLeech :: Lens' StateFile ByteStringUtf8
Documentation
newtype ByteStringUtf8 Source
BS8 | |
|
data CustomSeeding Source