MCPcopy Create free account
hub / github.com/IoLanguage/io / UArray_lastPathComponent

Function UArray_lastPathComponent

libs/basekit/source/UArray_path.c:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67UArray *UArray_lastPathComponent(const UArray *self) {
68 long pos = UArray_findLastPathComponent(self);
69 return UArray_range(self, pos, self->size - pos);
70}
71
72long UArray_findPathExtension(UArray *self) {
73 UArray dot = UArray_stackAllocedWithCString_(IO_PATH_SEPARATOR_DOT);

Callers 1

IoSeq_immutable.cFile · 0.85

Calls 2

UArray_rangeFunction · 0.85

Tested by

no test coverage detected