(path, relative_to)
| 189 | |
| 190 | |
| 191 | def FixIfRelativePath(path, relative_to): |
| 192 | # Like RelativePath but returns |path| unchanged if it is absolute. |
| 193 | if os.path.isabs(path): |
| 194 | return path |
| 195 | return RelativePath(path, relative_to) |
| 196 | |
| 197 | |
| 198 | def UnrelativePath(path, relative_to): |
nothing calls this directly
no test coverage detected
searching dependent graphs…