MCPcopy 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
435def check_release_file(run_lambda):
436 return run_and_parse_first_match(run_lambda, "cat /etc/*-release", r'PRETTY_NAME="(.*)"')
437
438
439def get_os(run_lambda):

Callers 1

get_osFunction · 0.85

Calls 1

Tested by

no test coverage detected