Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/saltstack/salt
/ contains
Method
contains
tests/pytests/unit/test_client.py:160–161 ·
view source on GitHub ↗
(self, bank, key)
Source
from the content-addressed store, hash-verified
158
159
class
_FakeCache:
160
def
contains(self, bank, key):
161
return
bank ==
"grains"
and key ==
"minion-3"
162
163
def
fetch(self, bank, key):
164
return
{
Callers
15
test_contains
Function · 0.45
test_contains_existing_key
Function · 0.45
test_contains_missing_key
Function · 0.45
test_contains_bank_existence_check
Function · 0.45
_localfs_contains
Function · 0.45
_mmap_contains
Function · 0.45
test_contains_existing_key
Function · 0.45
test_contains_missing_key
Function · 0.45
test_contains_after_flush
Function · 0.45
test_contains_bank_existence
Function · 0.45
test_contains_existing_key
Function · 0.45
test_contains_missing_key
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected