method libtmux-dotnet latest
TmuxBuffers.SaveAsync
Writes a buffer to a file.
Source and package
- Module
- LibTmux
- Declared in
- TmuxBuffers
- Package
- LibTmux
- Source
- src/LibTmux/Buffers/TmuxBuffers.cs
- Other languages
- Python Ruby Lua TypeScript Rust Go Java C++Swift Kotlin Scala F#
-
- Parameters
-
-
path ( string ) – The file to write.
-
name ( string? ) – The buffer to write, or null for the most recent.
-
append ( bool ) – Whether the buffer joins what the file already holds.
-
cancellationToken ( Cancellation
Token ) – Cancels the tmux command.
-
- Returns
-
A task that completes once tmux has written it.
- Raises
-
-
Argument
Exception –pathis blank.
-
tmux command
save-bufferIn other ports Write a paste buffer to a file
- Python
libtmux.Server.save_buffer - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
server.Server.saveBuffer - Rust no equivalent on
Server - Go
tmux.Server.SaveBuffer - Java no equivalent on
Server - C++
libtmux::Server::save_buffer - Swift
Server.saveBuffer(named:to:) - Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.