2018-11-26 14:07:25 +00:00
|
|
|
//+build go1.9,!go1.10
|
2018-03-06 22:22:29 +00:00
|
|
|
|
|
|
|
// Fallback deadline setting for pre go1.10
|
|
|
|
|
|
|
|
package restic
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
// SetDeadline sets the read/write deadline.
|
|
|
|
func (s *StdioConn) SetDeadline(t time.Time) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetReadDeadline sets the read/write deadline.
|
|
|
|
func (s *StdioConn) SetReadDeadline(t time.Time) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetWriteDeadline sets the read/write deadline.
|
|
|
|
func (s *StdioConn) SetWriteDeadline(t time.Time) error {
|
|
|
|
return nil
|
|
|
|
}
|