Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/FastDeploy
/ check_release_file
Function
check_release_file
fastdeploy/collect_env.py:435–436 ·
view source on GitHub ↗
(run_lambda)
Source
from the content-addressed store, hash-verified
433
434
435
def
check_release_file(run_lambda):
436
return
run_and_parse_first_match(run_lambda,
"cat /etc/*-release"
, r
'PRETTY_NAME="(.*)"'
)
437
438
439
def
get_os(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