| |
self.path.join("cobs")
|
| |
}
|
| |
|
| - |
/// The location of the control socket the node.
|
| + |
/// The location of the control socket of the node.
|
| |
/// If the environment variable with name [`env::RAD_SOCKET`] is set,
|
| |
/// its value is used.
|
| |
/// Otherwise, the default socket name, which is relative to this
|
| - |
/// [`Home`], is used, see [`Self::socket_default`].
|
| + |
/// [`Home`], is used (see [`Self::socket_default`]).
|
| |
pub fn socket_from_env(&self) -> PathBuf {
|
| |
env::var_os(env::RAD_SOCKET)
|
| |
.map(PathBuf::from)
|
| |
.unwrap_or_else(|| self.socket_default())
|
| |
}
|
| |
|
| - |
/// The default location of the control socket the node.
|
| - |
/// The returned value only depends on `self`, but not on
|
| + |
/// The default location of the control socket of the node.
|
| + |
/// The returned value only depends on `self`, and not on
|
| |
/// any environment variables.
|
| |
///
|
| |
/// See also [`Self::socket_from_env`].
|