ark::testing::ScopedDirectory

Defined in header “ark/testing/path.hh”.


Scoped class that creates a new directory and will automatically remove it on destruction.

Methods

  • ScopedDirectory()
    Default constructor that creates a unique (i.e. guid named) testing directory.

  • ScopedDirectory(std::filesystem::path dir)
    Constructor that will create a scoped directory with the given path.

  • ~ScopedDirectory()