Method IsUnderDirectory
Namespace: Belay.Sync
Assembly: Belay.Sync.dll
IsUnderDirectory(string, string)
Determines if the specified path is under the given parent directory.
csharp
public static bool IsUnderDirectory(string path, string parentDirectory)
Parameters
path
string
The path to check.
parentDirectory
string
The parent directory path.
Returns
True if the path is under the parent directory, false otherwise.