Skip to main content

IVirtualPathProvider

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IVirtualPathProvider

Properties

RootDirectory

View Source
Declaration
IVirtualDirectory RootDirectory { get; }

VirtualPathSeparator

View Source
Declaration
string VirtualPathSeparator { get; }

RealPathSeparator

View Source
Declaration
string RealPathSeparator { get; }

Methods

CombineVirtualPath(String, String)

View Source
Declaration
string CombineVirtualPath(string basePath, string relativePath)
Returns

System.String

Parameters
TypeName
System.StringbasePath
System.StringrelativePath

FileExists(String)

View Source
Declaration
bool FileExists(string virtualPath)
Returns

System.Boolean

Parameters
TypeName
System.StringvirtualPath

DirectoryExists(String)

View Source
Declaration
bool DirectoryExists(string virtualPath)
Returns

System.Boolean

Parameters
TypeName
System.StringvirtualPath

GetFile(String)

View Source
Declaration
IVirtualFile GetFile(string virtualPath)
Returns

ServiceStack.IO.IVirtualFile

Parameters
TypeName
System.StringvirtualPath

GetFileHash(String)

View Source
Declaration
string GetFileHash(string virtualPath)
Returns

System.String

Parameters
TypeName
System.StringvirtualPath

GetFileHash(IVirtualFile)

View Source
Declaration
string GetFileHash(IVirtualFile virtualFile)
Returns

System.String

Parameters
TypeName
ServiceStack.IO.IVirtualFilevirtualFile

GetDirectory(String)

View Source
Declaration
IVirtualDirectory GetDirectory(string virtualPath)
Returns

ServiceStack.IO.IVirtualDirectory

Parameters
TypeName
System.StringvirtualPath

GetAllMatchingFiles(String, Int32)

View Source
Declaration
IEnumerable<IVirtualFile> GetAllMatchingFiles(string globPattern, int maxDepth = 2147483647)
Returns

System.Collections.Generic.IEnumerable<ServiceStack.IO.IVirtualFile>

Parameters
TypeName
System.StringglobPattern
System.Int32maxDepth

GetAllFiles()

View Source
Declaration
IEnumerable<IVirtualFile> GetAllFiles()
Returns

System.Collections.Generic.IEnumerable<ServiceStack.IO.IVirtualFile>

GetRootFiles()

View Source
Declaration
IEnumerable<IVirtualFile> GetRootFiles()
Returns

System.Collections.Generic.IEnumerable<ServiceStack.IO.IVirtualFile>

GetRootDirectories()

View Source
Declaration
IEnumerable<IVirtualDirectory> GetRootDirectories()
Returns

System.Collections.Generic.IEnumerable<ServiceStack.IO.IVirtualDirectory>

IsSharedFile(IVirtualFile)

View Source
Declaration
bool IsSharedFile(IVirtualFile virtualFile)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.IO.IVirtualFilevirtualFile

IsViewFile(IVirtualFile)

View Source
Declaration
bool IsViewFile(IVirtualFile virtualFile)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.IO.IVirtualFilevirtualFile