Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/FastDeploy
/ get_mac_version
Function
get_mac_version
fastdeploy/collect_env.py:420–421 ·
view source on GitHub ↗
(run_lambda)
Source
from the content-addressed store, hash-verified
418
419
420
def
get_mac_version(run_lambda):
421
return
run_and_parse_first_match(run_lambda,
"sw_vers -productVersion"
, r
"(.*)"
)
422
423
424
def
get_windows_version(run_lambda):
Callers
1
get_os
Function · 0.85
Calls
1
run_and_parse_first_match
Function · 0.85
Tested by
no test coverage detected