Server.check_file
Parse the same file and report what tmux would refuse in it, running none of it.
Source and package
- Qualified name
-
libtmux::Server:: check _file - Namespace
- libtmux
- Declared in
Server- Package
- libtmux-cxx
- Source
- include/libtmux/server.hpp
- [[
C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.]] expected<void, CommandFailure > check_file(const std::filesystem:: & file) const;path -
Description#
This is how a program checks a configuration it is about to apply without applying half of it first.
- Parameters
-
-
file(const std::filesystem:: &) #path
-
tmux command#
The tmux commands behind check_file.
tmux C API#
The C declarations in tmux that implement these commands.