Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PierreGode/Ragnar
/ check_path
Function
check_path
pager_lib/getmac/getmac.py:175–177 ·
view source on GitHub ↗
(filepath)
Source
from the content-addressed store, hash-verified
173
174
175
def
check_path(filepath):
176
# type: (str) -> bool
177
return
os.path.exists(filepath) and os.access(filepath, os.R_OK)
178
179
180
def
_clean_mac(mac):
Callers
3
test
Method · 0.85
test
Method · 0.85
test
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected