| 104 | } |
| 105 | |
| 106 | String File::relativeTo(String const& relativeTo, String const& path) { |
| 107 | if (path.beginsWith("/")) |
| 108 | return path; |
| 109 | return relativeTo.trimEnd("/") + '/' + path; |
| 110 | } |
| 111 | |
| 112 | String File::fullPath(const String& fileName) { |
| 113 | char buffer[PATH_MAX]; |
nothing calls this directly
no test coverage detected