Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Rust API

Rust documentation

server.Server.config_file

Rust

View as Markdown

Module
server
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server.rs
Other languages
PythonTypeScriptGo Java .NET C++ Swift
config_file ( self ) → Option<&Path>
method [source]
method [source]
config_file

Return the captured config path, if configured.

In other ports The configuration file this server was pointed at

Examples

let server = libtmux::Server::builder()
.config_file("/tmp/libtmux-example.conf")
.build()?;
assert_eq!(server.config_file(), Some(std::path::Path::new("/tmp/libtmux-example.conf")));
new Server({ configFile: "~/.tmux.conf" }).configFile;

0 declared, 0 inherited

Esc

Type to search.