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
Type | Name |
---|---|
System.String | basePath |
System.String | relativePath |
FileExists(String)
View Source
Declaration
bool FileExists(string virtualPath)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | virtualPath |
DirectoryExists(String)
View Source
Declaration
bool DirectoryExists(string virtualPath)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | virtualPath |
GetFile(String)
View Source
Declaration
IVirtualFile GetFile(string virtualPath)
Returns
Parameters
Type | Name |
---|---|
System.String | virtualPath |
GetFileHash(String)
View Source
Declaration
string GetFileHash(string virtualPath)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | virtualPath |
GetFileHash(IVirtualFile)
View Source
Declaration
string GetFileHash(IVirtualFile virtualFile)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.IO.IVirtualFile | virtualFile |
GetDirectory(String)
View Source
Declaration
IVirtualDirectory GetDirectory(string virtualPath)
Returns
ServiceStack.IO.IVirtualDirectory
Parameters
Type | Name |
---|---|
System.String | virtualPath |
GetAllMatchingFiles(String, Int32)
View Source
Declaration
IEnumerable<IVirtualFile> GetAllMatchingFiles(string globPattern, int maxDepth = 2147483647)
Returns
System.Collections.Generic.IEnumerable<ServiceStack.IO.IVirtualFile>
Parameters
Type | Name |
---|---|
System.String | globPattern |
System.Int32 | maxDepth |
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
Type | Name |
---|---|
ServiceStack.IO.IVirtualFile | virtualFile |
IsViewFile(IVirtualFile)
View Source
Declaration
bool IsViewFile(IVirtualFile virtualFile)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.IO.IVirtualFile | virtualFile |