MCPcopy Create free account
hub / github.com/apache/thrift / unlink

Method unlink

lib/cpp/test/TFileTransportTest.cpp:122–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 int getFD() const { return fd_; }
121
122 void unlink() {
123 if (path_) {
124 ::unlink(path_);
125 delete[] path_;
126 path_ = nullptr;
127 }
128 }
129
130 void close() {
131 if (fd_ < 0) {

Callers 2

listenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected