feat: improved deploy progress reporting

See toolshed/abra#478
This commit is contained in:
2025-03-20 14:23:09 +01:00
committed by decentral1se
parent d0f982456e
commit 47045ca8f1
85 changed files with 8828 additions and 360 deletions

View File

@ -0,0 +1,18 @@
//go:build solaris
// +build solaris
package cancelreader
import (
"io"
)
// NewReader returns a reader and a cancel function. If the input reader is a
// File, the cancel function can be used to interrupt a blocking read call.
// In this case, the cancel function returns true if the call was canceled
// successfully. If the input reader is not a File or the file descriptor
// is 1024 or larger, the cancel function does nothing and always returns false.
// The generic unix implementation is based on the posix select syscall.
func NewReader(reader io.Reader) (CancelReader, error) {
return newSelectCancelReader(reader)
}