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

Function UArray_findPathExtension

libs/basekit/source/UArray_path.c:72–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72long UArray_findPathExtension(UArray *self) {
73 UArray dot = UArray_stackAllocedWithCString_(IO_PATH_SEPARATOR_DOT);
74 return UArray_rFind_(self, &dot);
75}
76
77void UArray_removePathExtension(UArray *self) {
78 long pos = UArray_findPathExtension(self);

Callers 3

UArray_pathExtensionFunction · 0.85
UArray_fileNameFunction · 0.85

Calls 2

UArray_rFind_Function · 0.85

Tested by

no test coverage detected