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

Function _probe_share_folder

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

Source from the content-addressed store, hash-verified

101
102
103def _probe_share_folder(*cf):
104 # type: (str) -> Optional[pathlib.Path]
105 return _probe_xdg_folder(
106 "XDG_DATA_HOME",
107 os.path.join(os.path.expanduser("~"), ".local", "share"),
108 *cf
109 )
110
111
112def _check_perms(file: Union[pathlib.Path, str]) -> None:

Callers 1

main.pyFile · 0.85

Calls 2

_probe_xdg_folderFunction · 0.85
joinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…