DirectoryPath.

GetRelativePath(DirectoryPath) Method

Summary

Get the relative path to another directory. If this path and the target path do not share the same file provider, the target path is returned.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.IO
Containing Type
DirectoryPath

Syntax

public DirectoryPath GetRelativePath(DirectoryPath target)

Parameters

Name Type Description
target DirectoryPath The target directory path.

Return Value

Type Description
DirectoryPath A Wyam.Common.IO.DirectoryPath.
GitHub