Definition at line 139 of file FileSystem.h. References Impala::Util::Channel::Buffer(), mDataChannel, and Impala::Util::Channel::SendRequest(). Referenced by Impala::Application::DataServer::AcceptRequest(), and Impala::Persistency::File::Delete(). 00140 { 00141 if (mDataChannel) 00142 { 00143 char* buf = mDataChannel->Buffer(); 00144 sprintf(buf, "deletefile \"%s\"\0", path.c_str()); 00145 mDataChannel->SendRequest(strlen(buf)+1); 00146 } 00147 else 00148 { 00149 unlink(path.c_str()); 00150 } 00151 }
Here is the call graph for this function: ![]()
|