Server.SourceFileAsync
Reads a tmux configuration file.
Source and package
- Qualified name
-
LibTmux .Server. Source File Async - Namespace
- LibTmux
- Declared in
Server- Package
- LibTmux
- Source
- src/LibTmux/Server.Administration.cs
-
- Parameters
-
-
quiet(bool) – Whether a missing file is passed over in silence.Default
false -
parseOnly(bool) – Whether the file is checked rather than run.Default
false -
verbose(bool) – Whether each command read is reported.Default
false -
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
Recorded calls
source callsThe C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Server.SourceFileAsync.
tmux command
task materialThe tmux commands behind SourceFileAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 10 other ports mappedSource-verified mappings for Load a tmux configuration file. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from C# |
|---|---|---|
| C# | Lib Reads a tmux configuration file. | This page |
| Python | libtmux Source a tmux configuration file via $ tmux source-file. | None recorded in the model |
| Ruby | Lib Behavior: Source files. | None recorded in the model |
| Erlang | tmux Build configuration loading from stdin or one literal absolute path, without I/O. stdin renders source-file -; supply configuration bytes in the stdin option of tmux_server:command/3 or tmux_operation:start/3. Those APIs bound input to 256 KiB including their argument reservation. | free function Builds a trusted command value. Execute it explicitly with tmux_server:command/3. |
| TypeScript | server Run a tmux config file against this server. | None recorded in the model |
| Rust | server Load a tmux configuration file into this server. | async |
| Go | tmux SourceFile loads or parses one tmux configuration file. The path expands ~ and ~/... for the current user and normalizes redundant separators and dot components without collapsing parent components. Named-user forms are rejected. Exact "-" is rejected because it requires process stdin; a relative path naming a file called "-" remains file data. It can mutate tmux configuration; completed stderr is an error, and cancellation does not prove that parsing or sourcing did not occur. | None recorded in the model |
| Java | io Runs a file of tmux commands, as a configuration file would be run. | None recorded in the model |
| C++ | libtmux:: Run the commands in a file, the way tmux runs a configuration file. | readonly |
| Swift | Server Loads a tmux configuration file into the running server. | async |
| Raku | Lib Source one literal local pathname; parse-only validates without running its commands. | Sources a literal pathname; parse-only validates without executing commands. |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
No direct public OCaml equivalent is recorded for this operation.
No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.
No equivalent is recorded in Lua, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.