Revision 1bee0fca057b246c4ad8c8a28e96dec57a37c342 authored by Cheng Chang on 05 June 2020, 17:53:08 UTC, committed by Facebook GitHub Bot on 05 June 2020, 17:55:22 UTC
Summary: Currently, `DeleteDir` only deletes the directory if there are no other directories under the target dir. This PR makes it delete directories recursively. Pull Request resolved: https://github.com/facebook/rocksdb/pull/6934 Test Plan: Added a new unit test in testutil_test.cc. `make testutil_test` Reviewed By: zhichao-cao Differential Revision: D21884211 Pulled By: cheng-chang fbshipit-source-id: 0b9a48a200f494ee007aef5d1763b4aa331f8b5a
1 parent 2677bd5
File | Mode | Size |
---|---|---|
alloc_tracker.cc | -rw-r--r-- | 2.0 KB |
hash_linklist_rep.cc | -rw-r--r-- | 28.8 KB |
hash_linklist_rep.h | -rw-r--r-- | 1.9 KB |
hash_skiplist_rep.cc | -rw-r--r-- | 10.9 KB |
hash_skiplist_rep.h | -rw-r--r-- | 1.5 KB |
inlineskiplist.h | -rw-r--r-- | 35.2 KB |
inlineskiplist_test.cc | -rw-r--r-- | 17.8 KB |
memtablerep_bench.cc | -rw-r--r-- | 23.7 KB |
skiplist.h | -rw-r--r-- | 15.7 KB |
skiplist_test.cc | -rw-r--r-- | 10.2 KB |
skiplistrep.cc | -rw-r--r-- | 8.9 KB |
stl_wrappers.h | -rw-r--r-- | 898 bytes |
vectorrep.cc | -rw-r--r-- | 8.8 KB |
write_buffer_manager.cc | -rw-r--r-- | 5.4 KB |
write_buffer_manager_test.cc | -rw-r--r-- | 6.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...