forked from toolshed/abra
We were running behind and there were quite some deprecations to update. This was mostly in the upstream copy/pasta package but seems quite minimal.
13 lines
192 B
Go
13 lines
192 B
Go
package term
|
|
|
|
import (
|
|
"io"
|
|
)
|
|
|
|
// File represents a file that has a file descriptor and can be read from,
|
|
// written to, and closed.
|
|
type File interface {
|
|
io.ReadWriteCloser
|
|
Fd() uintptr
|
|
}
|