FileCleaner Class
Namespace
Statiq.Core
Interfaces
Base Types
  • object
FileCleaner
object
IFileCleaner

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