Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Close
Method
Close
util/system/pipe.cpp:87–94 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
85
}
86
87
inline void Close() {
88
if (!Handle_.IsOpen()) {
89
return;
90
}
91
if (!Handle_.Close()) {
92
ythrow TFileError() <<
"failed to close pipe"
;
93
}
94
}
95
96
TPipeHandle& GetHandle() noexcept {
97
return Handle_;
Callers
nothing calls this directly
Calls
2
IsOpen
Method · 0.45
Close
Method · 0.45
Tested by
no test coverage detected