Optimizes a file name.
- Namespace
- Statiq
.Core - Interfaces
- Base Types
Syntax
public class OptimizeFileName : ParallelSyncMultiConfigModule, IModule, IParallelModule
Remarks
This module takes the destination file name (or the value of a specified
metadata key) and optimizes it by removing reserved characters, white-listing characters, etc.
Constructors
Name | Summary |
---|---|
OptimizeFileName |
Optimizes the destination file name of each input document. |
OptimizeFileName |
Optimizes the file name in the resulting path and sets the specified metadata key. |
OptimizeFileName |
Optimizes the file name stored in the given metadata key and stores it at the provided key. |
OptimizeFileName |
Optimizes the file name stored in the given metadata key and stores it back in the same key. |
Properties
Name | Property Type | Summary |
---|---|---|
Configs | IReadOnlyDictionary |
Inherited from Multi
|
Force |
bool |
Inherited from Multi
|
Parallel | bool |
Indicates whether documents will be
processed by this module in parallel.
Inherited from Parallel
|