FileCleaner Class
Namespace
Statiq.Core
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IFileCleaner"] click Interface0 "/api/Statiq.Common/IFileCleaner" Type["FileCleaner"] class Type type-node

Syntax

public class FileCleaner : IFileCleaner

Constructors

Properties

Name Property Type Summary
CleanMode CleanMode
The currently set clean mode.

Methods

Name Return Value Summary
CleanAfterExecutionAsync() Task
Performs post-execution clean up.
CleanBeforeExecutionAsync() Task
Performs pre-execution clean up.
CleanDirectory(IDirectory, string) void
Recursively deletes a directory and then recreates it.

Extension Methods