Checks if this path is the specified path or if this directory contains the specified directory as a descendant.
- Namespace
- Statiq
.Common - Containing Type
- NormalizedPath
Syntax
public bool ContainsDescendantOrSelf(in NormalizedPath path)
Parameters
Name | Type | Description |
---|---|---|
path | NormalizedPath | The directory path to check. |
Return Value
Type | Description |
---|---|
bool | true if the directory is this directory or contains this directory as a descendant, false otherwise. |