IFileSystem Type
Represents a shim for the file system
Instance members
Instance member |
Description
|
|
|
Full Usage:
this.ChangeExtensionShim
Parameters:
string
extension : string
Returns: string
Modifiers: abstract |
A shim over Path.ChangeExtension
|
Full Usage:
this.CopyShim
Parameters:
string
dest : string
overwrite : bool
Modifiers: abstract |
|
Full Usage:
this.DirectoryCreateShim
Parameters:
string
Returns: string
Modifiers: abstract |
A shim over Directory.Exists, but returns a string, the FullName of the resulting DirectoryInfo.
|
Full Usage:
this.DirectoryDeleteShim
Parameters:
string
Modifiers: abstract |
A shim over Directory.Delete
|
Full Usage:
this.DirectoryExistsShim
Parameters:
string
Returns: bool
Modifiers: abstract |
A shim over Directory.Exists
|
Full Usage:
this.EnumerateDirectoriesShim
Parameters:
string
Returns: string seq
Modifiers: abstract |
A shim over Directory.EnumerateDirectories
|
Full Usage:
this.EnumerateFilesShim
Parameters:
string
pattern : string
Returns: string seq
Modifiers: abstract |
A shim over Directory.EnumerateFiles
|
Full Usage:
this.FileDeleteShim
Parameters:
string
Modifiers: abstract |
A shim over File.Delete
|
Full Usage:
this.FileExistsShim
Parameters:
string
Returns: bool
Modifiers: abstract |
A shim over File.Exists
|
Full Usage:
this.GetCreationTimeShim
Parameters:
string
Returns: DateTime
Modifiers: abstract |
|
Full Usage:
this.GetDirectoryNameShim
Parameters:
string
Returns: string
Modifiers: abstract |
A shim for getting directory name from path
|
Full Usage:
this.GetFullFilePathInDirectoryShim
Parameters:
string
fileName : string
Returns: string
Modifiers: abstract |
Take in a directory, filename, and return canonicalized path to the file name in directory. If file name path is rooted, ignores directory and returns file name path. Otherwise, combines directory with file name and gets full path via GetFullPathShim(string).
|
Full Usage:
this.GetFullPathShim
Parameters:
string
Returns: string
Modifiers: abstract |
Take in a file name with an absolute path, and return the same file name but canonicalized with respect to extra path separators (e.g. C:\\\\foo.txt) and '..' portions
|
Full Usage:
this.GetLastWriteTimeShim
Parameters:
string
Returns: DateTime
Modifiers: abstract |
|
Full Usage:
this.GetTempPathShim
Returns: string
Modifiers: abstract |
A shim over Path.GetTempPath
|
Full Usage:
this.IsInvalidPathShim
Parameters:
string
Returns: bool
Modifiers: abstract |
A shim over Path.IsInvalidPath
|
Full Usage:
this.IsPathRootedShim
Parameters:
string
Returns: bool
Modifiers: abstract |
A shim over Path.IsPathRooted
|
Full Usage:
this.IsStableFileHeuristic
Parameters:
string
Returns: bool
Modifiers: abstract |
Used to determine if a file will not be subject to deletion during the lifetime of a typical client process.
|
Full Usage:
this.NormalizePathShim
Parameters:
string
Returns: string
Modifiers: abstract |
Removes relative parts from any full paths
|
Full Usage:
this.OpenFileForReadShim
Parameters:
string
?useMemoryMappedFile : bool
?shouldShadowCopy : bool
Returns: Stream
Modifiers: abstract |
Open the file for read, returns ByteMemory, uses either FileStream (for smaller files) or MemoryMappedFile (for potentially big files, such as dlls).
|
Full Usage:
this.OpenFileForWriteShim
Parameters:
string
?fileMode : FileMode
?fileAccess : FileAccess
?fileShare : FileShare
Returns: Stream
Modifiers: abstract |
Open the file for writing. Returns a Stream.
|