MCPcopy Create free account
hub / github.com/ceph/ceph / descsort_key

Function descsort_key

src/pybind/ceph_argparse.py:918–923  ·  view source on GitHub ↗

sort descriptors by prefixes, defined as the concatenation of all simple strings in the descriptor; this works out to just the leading strings.

(sh)

Source from the content-addressed store, hash-verified

916
917
918def descsort_key(sh):
919 """
920 sort descriptors by prefixes, defined as the concatenation of all simple
921 strings in the descriptor; this works out to just the leading strings.
922 """
923 return concise_sig(sh['sig'])
924
925
926def parse_funcsig(sig: Sequence[Union[str, Dict[str, Any]]]) -> List[argdesc]:

Callers

nothing calls this directly

Calls 1

concise_sigFunction · 0.85

Tested by

no test coverage detected