MCPcopy Index your code
hub / github.com/secdev/scapy / _probe_cache_folder

Function _probe_cache_folder

scapy/main.py:94–100  ·  view source on GitHub ↗
(*cf)

Source from the content-addressed store, hash-verified

92
93
94def _probe_cache_folder(*cf):
95 # type: (str) -> Optional[pathlib.Path]
96 return _probe_xdg_folder(
97 "XDG_CACHE_HOME",
98 os.path.join(os.path.expanduser("~"), ".cache"),
99 *cf
100 )
101
102
103def _probe_share_folder(*cf):

Callers 1

main.pyFile · 0.85

Calls 2

_probe_xdg_folderFunction · 0.85
joinMethod · 0.80

Tested by

no test coverage detected