Class DriveFileProvider
Exposes the whole file system through folder similar to Cygwin. As an example, "/c/Program Files/Test/Data.dat" would work.
public class DriveFileProvider : FileSystemProvider, IVirtualFileProvider, IDisposable
- Inheritance
-
DriveFileProvider
- Implements
- Inherited Members
- Extension Methods
Constructors
DriveFileProvider(string)
public DriveFileProvider(string rootPath)
Parameters
rootPath
string
Fields
DefaultRootPath
public static string DefaultRootPath
Field Value
Methods
ConvertFullPathToUrl(string)
protected override string ConvertFullPathToUrl(string path)
Parameters
path
string
Returns
ConvertUrlToFullPath(string)
protected override string ConvertUrlToFullPath(string url)
Parameters
url
string
Returns
GetLocalPath(string)
Resolves the VFS URL from a given file path.
public string GetLocalPath(string filePath)
Parameters
filePath
stringThe file path.