| 35 | } |
| 36 | |
| 37 | void UArray_clipBeforeLastPathComponent(UArray *self) { |
| 38 | long pos = UArray_findLastPathComponent(self); |
| 39 | |
| 40 | if (pos != -1) { |
| 41 | UArray_removeRange(self, 0, pos); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | long UArray_findLastPathComponent(const UArray *self) { |
| 46 | if (self->size) { |
nothing calls this directly
no test coverage detected