Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ SetPlatformFile
Method
SetPlatformFile
src/butil/files/file_posix.cc:481–484 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
479
}
480
481
void File::SetPlatformFile(PlatformFile file) {
482
DCHECK(!file_.is_valid());
483
file_.reset(file);
484
}
485
486
} // namespace butil
Callers
nothing calls this directly
Calls
2
is_valid
Method · 0.45
reset
Method · 0.45
Tested by
no test coverage detected