mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-12 14:51:16 -03:00
fd monitor: hide test-only method
This commit is contained in:
@@ -135,6 +135,7 @@ pub fn post(&self) {
|
||||
/// If `wait` is set, wait until it is readable; this does not consume the event
|
||||
/// but guarantees that the next call to wait() will not block.
|
||||
/// Return true if readable, false if not readable, or not interrupted by a signal.
|
||||
#[cfg(test)]
|
||||
pub fn poll(&self, wait: bool /* = false */) -> bool {
|
||||
let timeout = if wait {
|
||||
Timeout::Forever
|
||||
|
||||
Reference in New Issue
Block a user