Cleans files and folders from the file system, usually before or after an execution
using the
CleanMode
setting.
- Namespace
- Statiq
.Common - Implementing Types
graph BT
Type["IFileCleaner"]
class Type type-node
Implementing0["FileCleaner"]-.->Type
click Implementing0 "/api/Statiq.Core/FileCleaner"
Implementing1["TestFileCleaner"]-.->Type
click Implementing1 "/api/Statiq.Testing/TestFileCleaner"
Syntax
public interface IFileCleaner
Properties
Methods
Name | Return Value | Summary |
---|---|---|
Clean |
Task |
Performs post-execution clean up.
|
Clean |
Task |
Performs pre-execution clean up.
|
CleanDirectory |
void |
Recursively deletes a directory and then recreates it.
|