MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / remove

Method remove

dds/DCPS/FileSystemStorage.cpp:494–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

492}
493
494bool File::remove()
495{
496 int unlink_result = -1;
497 {
498 CwdGuard cg(physical_dir_);
499 unlink_result = ACE_OS::unlink(physical_file_.c_str());
500 }
501
502 if (unlink_result != -1) {
503 parent_->removing(logical_relative_, true);
504 return true;
505 }
506
507 return false;
508}
509
510OPENDDS_STRING File::name() const
511{

Callers

nothing calls this directly

Calls 5

recursive_removeFunction · 0.85
removingMethod · 0.80
is_nilMethod · 0.45
resetMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected