Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ GoodPath
Function
GoodPath
util/system/execpath.cpp:26–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
25
#if defined(_freebsd_)
26
static inline bool GoodPath(const TString& path) {
27
return path.find(
'/'
) != TString::npos;
28
}
29
30
static inline int FreeBSDSysCtl(int* mib, size_t mibSize, TTempBuf& res) {
31
for (size_t i = 0; i < 2; ++i) {
Callers
1
GetExecPathImpl
Function · 0.85
Calls
1
find
Method · 0.45
Tested by
no test coverage detected