MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cs_drop_attributes

Function cs_drop_attributes

internal/cbm/doclink_cs.c:484–491  ·  view source on GitHub ↗

Leading parameter attribute lists: [NotNull] [In] T x. */

Source from the content-addressed store, hash-verified

482
483/* Leading parameter attribute lists: [NotNull] [In] T x. */
484static void cs_drop_attributes(cs_str_t *t) {
485 cs_trim(t);
486 while (t->len > 0 && t->s[0] == '[') {
487 size_t e = cs_group_end(t, 0);
488 cs_cut(t, 0, e);
489 cs_trim(t);
490 }
491}
492
493/* Nullable<X> / Nullable{X} (optionally System.- or global::System.-
494 * qualified) -> X. */

Callers 1

cbm_doclink_cs_norm_typeFunction · 0.85

Calls 3

cs_trimFunction · 0.85
cs_group_endFunction · 0.85
cs_cutFunction · 0.85

Tested by

no test coverage detected