Given a relative input path this "unmaps" it for each input path.
- Namespace
- Statiq
.Common - Containing Type
- I
Read Only File System Extensions
Syntax
public static IEnumerable<NormalizedPath> GetUnmappedInputPaths(this IReadOnlyFileSystem fileSystem, in NormalizedPath path, out HashSet<NormalizedPath> nonExistingMappedPaths)
Parameters
Name | Type | Description |
---|---|---|
fileSystem | IReadOnlyFileSystem | The file system. |
path | NormalizedPath | The path to "unmap". |
nonExistingMappedPaths | HashSet |
Some input paths won't map directly to a path in the file system (I.e. if the mapped path is deeper than the real one). This contains all the mapped input paths that couldn't be unmapped. |
Return Value
Type | Description |
---|---|
IEnumerable |
The "unmapped" input paths. |