MCPcopy Create free account
hub / github.com/apache/arrow / test_delete_dir

Method test_delete_dir

c_glib/test/file-system-tests.rb:92–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 end
91
92 def test_delete_dir
93 mkpath("AB/CD/EF")
94 mkpath("AB/GH/IJ")
95 create_file("AB/abc")
96 create_file("AB/CD/def")
97 create_file("AB/CD/EF/ghi")
98
99 @fs.delete_dir("AB/CD")
100 @fs.delete_dir("AB/GH/IJ")
101
102 assert_equal({
103 "AB" => :dir,
104 "AB/GH" => :dir,
105 "AB/abc" => :file
106 },
107 all_entries)
108 end
109
110 def test_delete_dir_contents
111 mkpath("AB/CD/EF")

Callers

nothing calls this directly

Calls 1

delete_dirMethod · 0.45

Tested by

no test coverage detected