Melora Hugues
54794b57a4
All checks were successful
continuous-integration/drone/push Build is passing
26 lines
458 B
Go
26 lines
458 B
Go
package devicepath
|
|
|
|
import "errors"
|
|
|
|
type FinalDevicePath struct {
|
|
}
|
|
|
|
func (fp *FinalDevicePath) Type() DeviceNodeType {
|
|
return EndOfHardwareDevicePath
|
|
}
|
|
|
|
func (fp *FinalDevicePath) SubType() DeviceNodeSubType {
|
|
return EndOfEntireDevicePath
|
|
}
|
|
|
|
func (fp *FinalDevicePath) Bytes() []byte {
|
|
return nil
|
|
}
|
|
|
|
func (fp *FinalDevicePath) String() string {
|
|
return ""
|
|
}
|
|
|
|
func (fp *FinalDevicePath) ParseString(raw string) error {
|
|
return errors.New("unparsable")
|
|
}
|