Saves the current state to a file.
- Namespace
- Statiq
.Common - Containing Type
- IFileWriteTracker
Syntax
Task SaveAsync(IReadOnlyFileSystem fileSystem, IFile destinationFile)
Parameters
| Name | Type | Description |
|---|---|---|
| fileSystem | IReadOnlyFileSystem | The current file system. |
| destinationFile | IFile | The file to save to. |
Return Value
| Type | Description |
|---|---|
| Task |