Table of Contents

Class DriveFileProvider

Namespace
Stride.Core.IO
Assembly
Stride.Core.IO.dll

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

string

Methods

ConvertFullPathToUrl(string)

protected override string ConvertFullPathToUrl(string path)

Parameters

path string

Returns

string

ConvertUrlToFullPath(string)

protected override string ConvertUrlToFullPath(string url)

Parameters

url string

Returns

string

GetLocalPath(string)

Resolves the VFS URL from a given file path.

public string GetLocalPath(string filePath)

Parameters

filePath string

The file path.

Returns

string

Exceptions

InvalidOperationException