Copyright | (c) 2014 Jens Thomas |
---|---|
License | BSD-style |
Maintainer | jetho@gmx.de |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
Type synonyms and data types.
- type Server = Text
- type Device = Text
- type FolderName = Text
- type Path = Text
- type Host = Text
- type Port = Int
- type Addr = (Host, Maybe Port)
- data CacheEntry = CacheEntry {}
- data Config = Config {}
- data AddressType
- data FolderConfig = FolderConfig {}
- data DeviceConfig = DeviceConfig {}
- data VersioningConfig = VersioningConfig {}
- data GuiConfig = GuiConfig {
- getEnabled :: Bool
- getApiKey :: Maybe Text
- getGuiAddress :: Addr
- getUser :: Text
- getPassword :: Text
- getUseTLS :: Bool
- data OptionsConfig = OptionsConfig {
- getListenAddress :: [Addr]
- getGlobalAnnServers :: [Text]
- getGlobalAnnEnabled :: Bool
- getLocalAnnEnabled :: Bool
- getLocalAnnPort :: Int
- getLocalAnnMCAddr :: Text
- getMaxSendKbps :: Int
- getMaxRecvKbps :: Int
- getReconnectIntervalS :: Int
- getStartBrowser :: Bool
- getUPnPEnabled :: Bool
- getUPnPLease :: Int
- getUPnPRenewal :: Int
- getURAccepted :: Int
- getURUniqueID :: Text
- getRestartOnWakeup :: Bool
- getAutoUpgradeIntervalH :: Int
- getKeepTemporariesH :: Int
- getCacheIgnoredFiles :: Bool
- getProgressUpdateIntervalS :: Int
- getSymlinksEnabled :: Bool
- data Connection = Connection {}
- data DirTree
- data Error = Error {}
- data Ignore = Ignore {
- getIgnores :: Maybe [Text]
- getPatterns :: Maybe [Text]
- data Model = Model {
- getGlobalBytes :: Integer
- getGlobalDeleted :: Integer
- getGlobalFiles :: Integer
- getInSyncBytes :: Integer
- getInSyncFiles :: Integer
- getLocalBytes :: Integer
- getLocalDeleted :: Integer
- getLocalFiles :: Integer
- getNeedBytes :: Integer
- getNeedFiles :: Integer
- getState :: Maybe ModelState
- getStateChanged :: Maybe UTCTime
- getInvalid :: Maybe Text
- getModelVersion :: Int
- data ModelState
- data Need = Need {}
- data Progress = Progress {
- getName :: Text
- getFlags :: Int
- getModified :: Integer
- getProgressVersion :: Int
- getLocalVersion :: Int
- getNumBlocks :: Int
- getSize :: Integer
- data System = System {
- getAlloc :: Integer
- getCpuPercent :: Double
- getExtAnnounceOK :: Maybe (Map Server Bool)
- getGoRoutines :: Int
- getMyId :: Text
- getSys :: Integer
- data SystemMsg
- data Upgrade = Upgrade {}
- data Version = Version {
- getArch :: Text
- getLongVersion :: Text
- getOs :: Text
- getVersion :: Text
Type Synonyms
type FolderName = Text Source
Data Types
data CacheEntry Source
Represents an entry in the discovery cache.
The current configuration data structure.
data AddressType Source
An address can be dynamic or static.
data FolderConfig Source
The folder specific configuration.
FolderConfig | |
|
data DeviceConfig Source
Device specific configuration information.
DeviceConfig | |
|
data VersioningConfig Source
Information about versioning.
Gui settings.
GuiConfig | |
|
data OptionsConfig Source
Various config settings.
data Connection Source
Connection information and some associated metadata.
A directory tree contains files or subdirectories.
Dir | |
File | |
|
An error message and its timestamp.
Contains the ignores list and a list of all compiled ignore patterns.
Ignore | |
|
Information about the current status of a folder.
data ModelState Source
The current state of activity of a folder.
Contains lists of files which are needed by a device for becoming in sync.
A file that is currently downloading.
Progress | |
|
Information about the system status and resource usage.
System messages.
Information about the current software version and upgrade possibilities.