[][src]Module tab_api::config

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.

dotdir_path

The full path to tab's dotdir directory, that can be used to store state for the user.

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 dotdir path.