Module config

Module config 

Source

Structs§

DaemonConfig
Config created for each daemon process

Functions§

daemon_file
The full path to the daemon’s pidfile, used to identify the running process, and the available websocket port. Also stores an auth token that is required (in the Authorization header) to connect to the daemon.
daemon_log
Returns the path to the daemon’s logfile.
data_path
The full path to tab’s data directory, which can be used to store state for the user.
global_config_file
The full path to the global configuration file
history_path
Returns the path to a unique logfile fro the given shell process, and tab name.
is_running
Determines if there is an active daemon, by checking the pidfile and the active system processes.
load_daemon_file
Loads & deserializes the DaemonConfig from the daemon pidfile.
mkdir
Creates the data path.
pty_log
Returns the path to the pty’s logfile.