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") }