Space Engineers
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
VRage.FileSystem.MyZipFileProvider Class Reference
Inheritance diagram for VRage.FileSystem.MyZipFileProvider:
VRage.FileSystem.IFileProvider

Public Member Functions

Stream Open (string path, FileMode mode, FileAccess access, FileShare share)
 FileShare is ignored Usage: C:.zip\InnerFolder\file.txt More...
 
bool DirectoryExists (string path)
 True if directory exists More...
 
IEnumerable< string > GetFiles (string path, string filter, MySearchOption searchOption)
 Returns list of files in directory More...
 
bool FileExists (string path)
 True if file exists More...
 

Static Public Member Functions

static bool IsZipFile (string path)
 

Public Attributes

readonly char[] Separators = new char[] { Path.AltDirectorySeparatorChar, Path.DirectorySeparatorChar }
 

Detailed Description

Definition at line 13 of file MyZipFileProvider.cs.

Member Function Documentation

bool VRage.FileSystem.MyZipFileProvider.DirectoryExists ( string  path)
inline

True if directory exists

Parameters
path
Returns

Implements VRage.FileSystem.IFileProvider.

Definition at line 63 of file MyZipFileProvider.cs.

bool VRage.FileSystem.MyZipFileProvider.FileExists ( string  path)
inline

True if file exists

Parameters
path
Returns

Implements VRage.FileSystem.IFileProvider.

Definition at line 141 of file MyZipFileProvider.cs.

IEnumerable<string> VRage.FileSystem.MyZipFileProvider.GetFiles ( string  path,
string  filter,
MySearchOption  searchOption 
)
inline

Returns list of files in directory

Parameters
path
Returns

Implements VRage.FileSystem.IFileProvider.

Definition at line 104 of file MyZipFileProvider.cs.

static bool VRage.FileSystem.MyZipFileProvider.IsZipFile ( string  path)
inlinestatic

Definition at line 159 of file MyZipFileProvider.cs.

Stream VRage.FileSystem.MyZipFileProvider.Open ( string  path,
FileMode  mode,
FileAccess  access,
FileShare  share 
)
inline

FileShare is ignored Usage: C:.zip\InnerFolder\file.txt

Implements VRage.FileSystem.IFileProvider.

Definition at line 21 of file MyZipFileProvider.cs.

Member Data Documentation

readonly char [] VRage.FileSystem.MyZipFileProvider.Separators = new char[] { Path.AltDirectorySeparatorChar, Path.DirectorySeparatorChar }

Definition at line 15 of file MyZipFileProvider.cs.


The documentation for this class was generated from the following file: