Expand description
Where gled keeps its files. The desktop app uses the user’s directories; the server is given one data directory and keeps everything below it.
Functions§
- known_
servers_ file - The certificate fingerprints of the servers this machine connected to.
- set_
data_ dir - Keeps every file below
dirfrom now on. Call before the services start; later calls are ignored. Returnsfalseif a directory was already set. - tls_dir
- The TLS certificate and key of the web server.