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

Function UArray_removePathExtension

libs/basekit/source/UArray_path.c:77–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void UArray_removePathExtension(UArray *self) {
78 long pos = UArray_findPathExtension(self);
79
80 if (pos != -1) {
81 UArray_setSize_(self, pos);
82 }
83}
84
85UArray *UArray_pathExtension(UArray *self) {
86 long pos = UArray_findPathExtension(self);

Callers

nothing calls this directly

Calls 2

UArray_findPathExtensionFunction · 0.85
UArray_setSize_Function · 0.85

Tested by

no test coverage detected