Lines Matching defs:OptionalPath
355 type OptionalPath struct { struct
356 path Path // nil if invalid.
357 invalidReason string // Not applicable if path != nil. "" if the reason is unknown.
376 func (p *OptionalPath) ToGob() *optionalPathGob {
383 func (p *OptionalPath) FromGob(data *optionalPathGob) {
388 func (p OptionalPath) GobEncode() ([]byte, error) {
392 func (p *OptionalPath) GobDecode(data []byte) error {
397 func (p OptionalPath) Valid() bool {
403 func (p OptionalPath) Path() Path {
415 func (p OptionalPath) InvalidReason() string {
429 func (p OptionalPath) AsPaths() Paths {
438 func (p OptionalPath) RelativeToTop() OptionalPath {
447 func (p OptionalPath) String() string {