diff options
author | Paul Duffin <paulduffin@google.com> | 2021-03-24 10:18:18 +0000 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2021-03-25 13:14:37 +0000 |
commit | 85d8f0dcd9c18922dca9d57070dd14e66cef34cb (patch) | |
tree | 77fd0a72167bbf6cd9e8e10e8edf4f4d3cece877 /java/java_test.go | |
parent | 74abc5d4ee72099f5cfeb0136e624eb58c05b8c4 (diff) |
Add Path.RelativeToTop
Makes Path.RelativeToTop the source of truth as to what `relative to
top` means.
Uses it in PathRelativeToTop so that it will be tested by the existing
tests that use AssertPathRelativeToTop.
Also adds RelativeToTop() to WritablePaths and Paths.
Bug: 183650682
Test: m droid
Change-Id: I88dc56afd1314e51b4e41795a2448cab4ce8a899
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions