mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
redirection.rs: make redirection spec fields public like in C++
This commit is contained in:
parent
11e16ef6df
commit
807d1578c3
1 changed files with 3 additions and 3 deletions
|
@ -93,15 +93,15 @@ pub struct RedirectionSpec {
|
|||
/// The redirected fd, or -1 on overflow.
|
||||
/// In the common case of a pipe, this is 1 (STDOUT_FILENO).
|
||||
/// For example, in the case of "3>&1" this will be 3.
|
||||
fd: RawFd,
|
||||
pub fd: RawFd,
|
||||
|
||||
/// The redirection mode.
|
||||
mode: RedirectionMode,
|
||||
pub mode: RedirectionMode,
|
||||
|
||||
/// The target of the redirection.
|
||||
/// For example in "3>&1", this will be "1".
|
||||
/// In "< file.txt" this will be "file.txt".
|
||||
target: WString,
|
||||
pub target: WString,
|
||||
}
|
||||
|
||||
impl RedirectionSpec {
|
||||
|
|
Loading…
Reference in a new issue