| 492 | } |
| 493 | |
| 494 | bool 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 | |
| 510 | OPENDDS_STRING File::name() const |
| 511 | { |
nothing calls this directly
no test coverage detected