Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.39 KB

File metadata and controls

27 lines (17 loc) · 1.39 KB

VFSPathExtensions.GetRelativePath(this VFSDirectoryPath, VFSPath) Method

Gets the relative path from one directory to another.

public static string GetRelativePath(this Atypical.VirtualFileSystem.Core.VFSDirectoryPath from, Atypical.VirtualFileSystem.Core.VFSPath to);

Parameters

from VFSDirectoryPath

The source directory path.

to VFSPath

The target path.

Returns

System.String
The relative path from source to target.