mirror of
https://github.com/sst/opencode.git
synced 2025-08-25 15:34:06 +00:00
14 lines
241 B
Go
14 lines
241 B
Go
//go:build !windows
|
|
// +build !windows
|
|
|
|
package input
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/muesli/cancelreader"
|
|
)
|
|
|
|
func newCancelreader(r io.Reader, _ int) (cancelreader.CancelReader, error) {
|
|
return cancelreader.NewReader(r) //nolint:wrapcheck
|
|
}
|