MCPcopy 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
481void 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_validMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected