MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / __remove_all

Function __remove_all

system/lib/libcxx/src/filesystem/operations.cpp:859–870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

857} // namespace
858
859uintmax_t __remove_all(const path& p, error_code* ec) {
860 ErrorHandler<uintmax_t> err("remove_all", ec, &p);
861
862 error_code mec;
863 auto count = remove_all_impl(p, mec);
864 if (mec) {
865 if (mec == errc::no_such_file_or_directory)
866 return 0;
867 return err.report(mec);
868 }
869 return count;
870}
871
872#else // !REMOVE_ALL_USE_DIRECTORY_ITERATOR
873

Callers 1

remove_allFunction · 0.85

Calls 2

remove_all_implFunction · 0.85
reportMethod · 0.80

Tested by

no test coverage detected