Rename OptionalPath.RelativeToPath -> RelativeToTop
Bug: 183650682 Test: m nothing Change-Id: I95239c2273e715e8c4c15a4a02967e01f6913234
This commit is contained in:
@@ -286,9 +286,9 @@ func (p OptionalPath) Path() Path {
|
||||
return p.path
|
||||
}
|
||||
|
||||
// RelativeToPath returns an OptionalPath with the path that was embedded having been replaced by
|
||||
// the result of calling Path.RelativeToPath on it.
|
||||
func (p OptionalPath) RelativeToPath() OptionalPath {
|
||||
// RelativeToTop returns an OptionalPath with the path that was embedded having been replaced by the
|
||||
// result of calling Path.RelativeToTop on it.
|
||||
func (p OptionalPath) RelativeToTop() OptionalPath {
|
||||
if !p.valid {
|
||||
return p
|
||||
}
|
||||
|
Reference in New Issue
Block a user