1      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0#None&Current Syncthing version information.11 None>Information about the data sent in the anonymous usage report. 2  2 NoneIInformation about the current software version and upgrade possibilities.33 NoneSystem messages.4545 None67896786789 None:;<=:;<:;<=NoneEContains the ignores list and a list of all compiled ignore patterns. !"> !" !">None?@AB?@A?@AB Safe-Inferred)2Use the SERVER:PORT format for specifying servers.#$%&'()#$%&'()#$%&'()None*7Information about the system status and resource usage. *+,-./01234C *+,-./01234* +,-./01234CNone57Parse server string (SERVER:PORT) into an address type.6Generate server string.7$Convert time string to UTCTime type.8Generate time string from UTC.567856785678None9+Represents an entry in the discovery cache.9:;<D9:;<9:;<DNone=Various config settings.V Gui settings.^*Device specific configuration information.fInformation about versioning.j"The folder specific configuration.y$An address can be dynamic or static.|)The current configuration data structure.[=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]EFG^_`abcdefghijklmnopqrstuvwxyz{|}~HIJKLMNOPQRSTUVWXYF=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]EFG^_`abcdefghijklmnopqrstuvwxy{z|}~HIJKLMNOPQRSTUVWXYNone)Contains the list of current connections.4Connection information and some associated metadata. Z[ Z[None$Contains information about a device.\\None2A directory tree contains files or subdirectories.file modification time file size]]None'All available information about a file. ^ ^None+Contains data available about a given file.__NoneKContains lists of files which are needed by a device for becoming in sync.``None'Information about the last synced file.*Contains general statistics about folders. ababNone#An error message and its timestamp. cdefgcdecdefgNone1Information about the current status of a folder.*The current state of activity of a folder.hijhijNone+klmklmNone24nonno None 678:;< !"?@A#$%&'()*+,-./012349:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~cden!NonebThe Syncthing configuration for specifying the Syncthing server, authentication, the API Key etc.GA lens for configuring the server address. Use the ADDRESS:PORT format.Example:  let cfg =  defaultConfig "#  "$ "192.168.0.10:8080"  syncthing cfg Get.% ,A lens for specifying the Syncthing API Key.Example:  let cfg =  defaultConfig "#  "&" "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"  syncthing cfg Get.% ?A lens for configuring request authentication provided by the '( package (see )*).Example: import qualified  Network.Wreq as Wreq let cfg =  defaultConfig "#  "$ True "#  "& Wreq.)+ "user" "pass"  syncthing cfg Get.%  A lens for enabling HTTPS usage.Example:  let cfg =  defaultConfig "#  "$ True  syncthing cfg Get.% cA lens for specifying your own ManagerSettings/Manager. For more information, please refer to the Network.HTTP.Client package. p p,NoneB>The SyncM Monad represents one or multiple Syncthing requests.&The result type of Syncthing requests..Run Syncthing requests without error handling.+Run Syncthing requests with error handling.q<Use Wreq's getWith and postWith functions when running in IOq q-NoneTrs rs(c) 2014 Jens Thomas BSD-style jetho@gmx.de experimentalGHCNoneE5Ping the Syncthing server. Returns the string "pong".!Return the current configuration.Get the API Key if available.KReturn the completion percentage (0 to 100) for a given device and folder.[Get the list of current connections and some metadata associated with the connection/peer.TReturns most data available about a given file, including version and availability._Verifiy and format a device ID. Return either a valid device ID in modern format, or an error. )Returns general statistics about devices. 0Fetch the contents of the local discovery cache. Get the list of recent errors. Fetch the ignores list. 5Get information about the current status of a folder.VGet lists of files which are needed by this device in order for it to become in sync.4Returns the data sent in the anonymous usage report.(Determine whether the config is in sync.CReturns information about current system status and resource usage.+Get the directory tree of the global model.Check for a possible upgrade..Get the current syncthing version information.vReturns a list of canonicalized localization codes, as picked up from the Accept-Language header sent by the browser.*Returns general statistics about folders.       root folderFdefines a prefix within the tree where to start building the structure_defines how deep within the tree we want to dwell down (0 based, defaults to unlimited depth)                (c) 2014 Jens Thomas BSD-style jetho@gmx.de experimentalGHCNoneE 5Ping the Syncthing server. Returns the string "pong".5Move the given file to the top of the download queue.$Add an entry to the discovery cache.tUpdate the server configuration. The configuration will be saved to disk and the configInSync flag set to false.  Syncthing to activate.Register a new error message.Remove all recent errors.5Update the ignores list and echo it back as response.Request rescan of a folder. Restrict the scan to a relative subpath within the folder by specifying the optional path parameter. The optional int argument delays Syncthing's automated rescan interval for a given amount of seconds.Restart Syncthing. Shutdown Syncthing.!rReset Syncthing by renaming all folder directories to temporary, unique names, wiping all indexes and restarting."aPerform an upgrade to the newest release and restart. Does nothing if there is no newer version. t !"  !" ! " t !"None  678:;< !"?@A#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~cden<5678(c) 2014 Jens Thomas BSD-style jetho@gmx.de experimentalGHCNone  !"#$%&'()*+,-./012349:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~)('&%$#9:;<|}~y{zjklmnopqrstuvwx^_`abcdefghiVWXYZ[\]=>?@ABCDEFGHIJKLMNOPQRSTU !"*+,-./01234 (c) 2014 Jens Thomas BSD-style jetho@gmx.de experimentalGHCNone56785678(c) 2014 Jens Thomas BSD-style jetho@gmx.de experimentalGHCNone#;Holds the session configuration and the connection manager.$Create a new Syncthing session for with provided configuration. You should reuse the session whenever possible because of connection sharing.%Close a Syncthing session.&BRun a Syncthing request using connection sharing within a session.']Create a new session using the provided configuration, run the action and close the session. Examples: '  defaultConfig $ \session -> & session $ ./ (,) Get.% Get.0 import qualified  Network.Wreq as Wreq let cfg =  defaultConfig u  v True u  "& Wreq.)+' "user" "pass" u  "&" "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" ' cfg $ \session -> & session $ ./ (,) Get.% Get.0 #wx$%&'#$%&'#$%'&#wx$%&'(c) 2014 Jens Thomas BSD-style jetho@gmx.de experimentalGHCNone (Run Syncthing requests.)Create a default configuration with a new manager for connection sharing. The manager is released after running the Syncthing actions(s). This is equivalent to: + /  Examples: ) $ \cfg -> ( cfg $ ./ (,) Get.% Get.0 )! $ \cfg -> do let cfg' = cfg "#  "$ "192.168.0.10:8080" ( cfg' $ ./ (,) Get.% Get.0 *TCreate a manager with disabled SSL certificate verification. This is equivalent to: + 0 Example: *! $ \cfg -> do let cfg' = cfg "#  "$ True ( cfg' $ ./ (,) Get.% Get.0 +8Create a manager by using the provided manager settings.Example: + 0! $ \cfg -> do let cfg' = cfg "#  "$ True ( cfg' $ ./ (,) Get.% Get.0 ,qThe default Syncthing configuration. Customize it to your needs by using record syntax or the SyncConfig lenses.Example: defaultConfigkSyncConfig { server = "127.0.0.1:8384", apiKey = Nothing, auth = Nothing, https = False, manager = Left _ }DdefaultConfig { server = "192.168.0.10:8080", apiKey = Just "XXXX" }rSyncConfig { server = "192.168.0.10:8080", apiKey = Just "XXXX", auth = Nothing, https = False, manager = Left _ }BdefaultConfig & pServer .~ "192.168.0.10:8080" & pApiKey ?~ "XXXX"rSyncConfig { server = "192.168.0.10:8080", apiKey = Just "XXXX", auth = Nothing, https = False, manager = Left _ }-,The Syncthing default folder (-> "default")..CSet the response timeout (in microseconds). Default is 300 seconds./%The default manager settings used by ,.0HAlternative manager settings with disabled SSL certificate verification. ()*+,-y./0  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~#$%&'()*+,-./0"()*+,-/0. ()*+,-y./0z112345 6 6 7 8 9 : ; < = > ? @ A B C D D E F G H I J K LMMNOPQRSTUVWWXYZ[\]^_`abcdeefghhijklmnopqrstuvwxyz{|}~!!!!!!!!!!!!,,,,,,,,,,,,, , - - - - ------------% !"#$%&'()0*+%, -."/012)3456789:;<=>?@A B C D E F F G H I I J KLMMNOPQRRSTUVWXYZ[\]^_`abcdefghijklmnoopqrstuvwxyz!{,|-}-~#$3syncthing-hs-0.3.0.0Network.Syncthing.TypesNetwork.Syncthing.UtilsNetwork.SyncthingNetwork.Syncthing.InternalNetwork.Syncthing.GetNetwork.Syncthing.PostNetwork.Syncthing.SessionNetwork.Syncthing.Types.Version#Network.Syncthing.Types.UsageReportNetwork.Syncthing.Types.Upgrade!Network.Syncthing.Types.SystemMsgNetwork.Syncthing.Types.SyncNetwork.Syncthing.Types.PingNetwork.Syncthing.Types.Ignore"Network.Syncthing.Types.CompletionNetwork.Syncthing.Types.CommonNetwork.Syncthing.Types.System Network.Syncthing.Internal.Utils"Network.Syncthing.Types.CacheEntryNetwork.Syncthing.Types.Config"Network.Syncthing.Types.Connection"Network.Syncthing.Types.DeviceInfoNetwork.Syncthing.Types.DirTree Network.Syncthing.Types.FileInfoNetwork.Syncthing.Types.DBFileNetwork.Syncthing.Types.Need"Network.Syncthing.Types.FolderInfoNetwork.Syncthing.Types.ErrorNetwork.Syncthing.Types.Model Network.Syncthing.Internal.Error Network.Syncthing.Types.DeviceId Network.Syncthing.Internal.Types!Network.Syncthing.Internal.Config Control.Lens&.~ping?~NetworkWreq Network.WreqAuth basicAuth Network.Syncthing.Internal.Monad"Network.Syncthing.Internal.Request Control.MonadliftM2versionVersiongetArchgetLongVersiongetOs getVersion UsageReportgetFolderMaxFilesgetFolderMaxMiBgetLongVersionR getMemorySizegetMemoryUsageMiB getNumDevices getNumFolders getPlatform getSHA256Perf getTotFiles getTotMiB getUniqueId getVersionRUpgrade getLatestgetNewer getRunning SystemMsgOtherSystemMsgResettingFolders ShuttingDown RestartingIgnore getIgnores getPatternsAddrPortHostPath FolderNameDeviceServerSystemgetAlloc getCpuPercentgetExtAnnounceOK getGoRoutinesgetMyIdgetSysgetPathSeparatorgetTilde getUptime parseAddr encodeAddrtoUTCfromUTC CacheEntrygetAddrgetSeen OptionsConfiggetListenAddressgetGlobalAnnounceServersgetGlobalAnnounceEnabledgetLocalAnnounceEnabledgetLocalAnnouncePortgetLocalAnnounceMCAddrgetMaxSendKbpsgetMaxRecvKbpsgetReconnectionIntervalSgetStartBrowsergetUpnpEnabledgetUpnpLeaseMinutesgetUpnpRenewalMinutesgetUpnpTimeoutSeconds getUrAccepted getUrUniqueIDgetRestartOnWakeupgetAutoUpgradeIntervalHgetKeepTemporariesHgetCacheIgnoredFilesgetProgressUpdateIntervalSgetSymlinksEnabledgetLimitBandwidthInLan GuiConfig getEnabled getApiKey getGuiAddressgetUser getPassword getUseTLS DeviceConfig getDevice getDeviceName getAddressesgetCompression getCertName getIntroducerVersioningConfiggetType getParams FolderConfiggetIdgetPathgetFolderDevices getReadOnlygetRescanIntervalSgetIgnorePermsgetAutoNormalize getVersioning getCopiers getPullers getHashersgetOrdergetFolderInvalid AddressTypeAddressDynamicConfiggetConfigVersiongetFolderConfigsgetDeviceConfigs getGuiConfiggetOptionsConfig ConnectionsgetConnectionsgetTotal ConnectiongetAtgetInBytesTotalgetOutBytesTotal getAddressgetClientVersion DeviceInfo getLastSeenDirTreeFile getModTime getFileSizeDirgetDirContentsFileInfogetNamegetFlags getModifiedgetFileVersiongetLocalVersiongetSize getNumBlocksDBFilegetAvailability getGlobalgetLocalNeed getProgress getQueuedgetRestLastFile getFileName getSyncedAt FolderInfo getLastFileErrorgetTimegetMsgModelgetGlobalBytesgetGlobalDeletedgetGlobalFilesgetInSyncBytesgetInSyncFiles getLocalBytesgetLocalDeleted getLocalFiles getNeedBytes getNeedFilesgetStategetStateChanged getInvalidgetModelVersion ModelStateSyncingCleaningScanningIdle SyncError NoSuchFolderInvalidDeviceIdNotFound CSRFError NotAuthorized ParseError DeviceErrorOtherDeviceErrorIncorrectCheckDigitIncorrectLengthsyncErrHandler decodeErrordecodeDeviceError SyncConfigserverapiKeyauthhttpsmanagerpServerpApiKeypAuthpHttpspManager MonadSync getMethod postMethodSyncM runSyncthing SyncResultrunSyncM syncthingM liftEither liftReader liftInnerliftLeft liftRight SyncRequestpathmethodparams HttpMethodPostGetParamquery queryMaybesendgetpost getRequest postRequestconfig completion connectionsfiledeviceIddevices discoveryerrorsignoresdbStatusneedreportinsync sysStatusbrowseupgradelangfoldersprio sendError clearErrorsscanrestartshutdownreset SyncSessionnewSyncSessioncloseSyncSessionrunSyncSessionwithSyncSession syncthing withManagerwithManagerNoVerify withManager' defaultConfig defaultFoldersetResponseTimeoutdefaultManagerSettingsnoSSLVerifyManagerSettings$fFromJSONVersion$fFromJSONUsageReport$fFromJSONUpgradedecodeSystemMsg$fFromJSONSystemMsgSyncgetSync$fFromJSONSyncPinggetPing$fFromJSONPing$fFromJSONIgnore Completion getCompletion$fFromJSONCompletion$fFromJSONSystem$fFromJSONCacheEntryFolderDeviceConfiggetFolderDevicedecodeAddressTypeencodeAddressType decodeApiKey encodeApiKey$fToJSONOptionsConfig$fFromJSONOptionsConfig$fToJSONGuiConfig$fFromJSONGuiConfig$fToJSONFolderDeviceConfig$fFromJSONFolderDeviceConfig$fToJSONDeviceConfig$fFromJSONDeviceConfig$fToJSONVersioningConfig$fFromJSONVersioningConfig$fToJSONFolderConfig$fFromJSONFolderConfig$fToJSONConfig$fFromJSONConfig$fFromJSONConnections$fFromJSONConnection$fFromJSONDeviceInfo$fFromJSONDirTree$fFromJSONFileInfo$fFromJSONDBFile$fFromJSONNeed$fFromJSONLastFile$fFromJSONFolderInfoErrors getErrors$fFromJSONErrors$fFromJSONErrordecodeModelState decodeInvalid$fFromJSONModeldeviceIdLengthdeviceIdCheckDigit$fExceptionSyncError parseIdResult$fFromJSONEither$fShowSyncConfig $fMonadSyncIOrequestprepareOptionsmaybeSystemMsg lens-4.7.0.1Control.Lens.LensControl.Lens.Setter getConfigdefaultResponseTimeout