Recursively delete a directory.

Synopsis

Declared in <llvm/Support/FileSystem.h>

std::error_code
remove_directories(
    Twine const& path,
    bool IgnoreErrors = true);

Return Value

errc::success if path has been removed or didn't exist, otherwise a platform‐specific error code.

Parameters

Name

Description

path

Input path.

IgnoreErrors

If true, continue past individual removal failures.

Created with MrDocs