Gets a path to the specified file relative to it's containing input directory.
If no input directories contain this file, then a null path is returned.
- Namespace
- Statiq
.Common - Containing Type
- I
Read Only File System Extensions
Syntax
public static NormalizedPath GetRelativeInputPath(this IReadOnlyFileSystem fileSystem, in NormalizedPath path)
Parameters
Name | Type | Description |
---|---|---|
fileSystem | IReadOnlyFileSystem | |
path | NormalizedPath |
Return Value
Type | Description |
---|---|
NormalizedPath | A path to this file relative to it's containing input directory. |