MCPcopy
hub / github.com/saltstack/salt / _add_data

Function _add_data

tests/pytests/unit/modules/test_aptpkg.py:1583–1584  ·  view source on GitHub ↗
(data, key, value)

Source from the content-addressed store, hash-verified

1581 """
1582
1583 def _add_data(data, key, value):
1584 data.setdefault(key, []).append(value)
1585
1586 apt_out = [
1587 "install ok installed accountsservice 0.6.55-0ubuntu12~20.04.1 amd64",

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45
setdefaultMethod · 0.45

Tested by

no test coverage detected