FromFile returns a *Device corresponding to an *os.File
(file *os.File)
| 33 | |
| 34 | // FromFile returns a *Device corresponding to an *os.File |
| 35 | func FromFile(file *os.File) *Device { return (*Device)(file) } |
| 36 | |
| 37 | // File returns the underlying *os.File |
| 38 | func (dev *Device) File() *os.File { return (*os.File)(dev) } |
no outgoing calls
no test coverage detected
searching dependent graphs…