NoTeX 1.0.0
A modern noteworthy LaTeX template
Loading...
Searching...
No Matches
notex::CleanReport Struct Reference

Outcome of a Manager::clean() call. More...

#include <notex/manager.hpp>

Public Member Functions

std::size_t total_removed () const noexcept

Public Attributes

std::vector< std::filesystem::path > removed_files
std::vector< std::filesystem::path > removed_directories

Detailed Description

Outcome of a Manager::clean() call.

Lists every file and directory that was removed or, under a dry run, that would have been, so that the command layer can report exactly what happened rather than just a count.

Definition at line 55 of file manager.hpp.

Member Function Documentation

◆ total_removed()

std::size_t notex::CleanReport::total_removed ( ) const
inlinenoexcept
Returns
The total number of files and directories removed (or, in a dry run, that would have been).

Definition at line 61 of file manager.hpp.

Referenced by notex::Manager::clean().

Member Data Documentation

◆ removed_directories

std::vector<std::filesystem::path> notex::CleanReport::removed_directories

Definition at line 57 of file manager.hpp.

◆ removed_files

std::vector<std::filesystem::path> notex::CleanReport::removed_files

Definition at line 56 of file manager.hpp.


The documentation for this struct was generated from the following file: