Snapshot.from_recording
Output that did not come from a live server: a recording, a fixture, a test.
Source and package
- Qualified name
-
libtmux::Snapshot:: from _recording - Namespace
- libtmux
- Declared in
Snapshot- Package
- libtmux-cxx
- Source
- include/libtmux/snapshot.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.]] static std::shared <const Snapshot> from_recording(std::_ptr span <const std::string > fields, std::_view string output); -
Description#
Entities read and filter exactly as they would from a listing, and anything that would run a command reports that there is no connection. Returns null if a row does not match the fields it claims to have.
- Parameters
-
-
fields(std::span <const std::string >) #_view
-