C# Class Simulated._Fs._DiskSimulated

Inheritance: _StorageSink
Show file Open project: arlobelshee/SimulatableApi

Public Methods

Method Description
CreateDir ( FsPath path ) : System.Threading.Tasks.Task
DeleteDir ( FsPath path ) : System.Threading.Tasks.Task
DeleteFile ( FsPath path ) : System.Threading.Tasks.Task
DirExists ( FsPath path ) : Task
FileExists ( FsPath path ) : Task
FindFiles ( FsPath path, string searchPattern ) : Task>
MoveDir ( FsPath src, FsPath dest ) : System.Threading.Tasks.Task
MoveFile ( FsPath src, FsPath dest ) : System.Threading.Tasks.Task
Overwrite ( FsPath path, byte newContents ) : System.Threading.Tasks.Task
Overwrite ( FsPath path, string newContents ) : System.Threading.Tasks.Task
RawContents ( FsPath path ) : Task
TextContents ( FsPath path ) : Task

Private Methods

Method Description
_GetStorage ( [ path ) : _Node
_ItemsInScopeOfDirectory ( [ path ) : _Node>>.List
_MoveItemImpl ( [ src, [ dest ) : void
_PatternMatches ( [ patternBaseName, [ patternExtension, [ fileName ) : bool
_ValidateStorage ( [ path, [ storage ) : void

Method Details

CreateDir() public method

public CreateDir ( FsPath path ) : System.Threading.Tasks.Task
path FsPath
return System.Threading.Tasks.Task

DeleteDir() public method

public DeleteDir ( FsPath path ) : System.Threading.Tasks.Task
path FsPath
return System.Threading.Tasks.Task

DeleteFile() public method

public DeleteFile ( FsPath path ) : System.Threading.Tasks.Task
path FsPath
return System.Threading.Tasks.Task

DirExists() public method

public DirExists ( FsPath path ) : Task
path FsPath
return Task

FileExists() public method

public FileExists ( FsPath path ) : Task
path FsPath
return Task

FindFiles() public method

public FindFiles ( FsPath path, string searchPattern ) : Task>
path FsPath
searchPattern string
return Task>

MoveDir() public method

public MoveDir ( FsPath src, FsPath dest ) : System.Threading.Tasks.Task
src FsPath
dest FsPath
return System.Threading.Tasks.Task

MoveFile() public method

public MoveFile ( FsPath src, FsPath dest ) : System.Threading.Tasks.Task
src FsPath
dest FsPath
return System.Threading.Tasks.Task

Overwrite() public method

public Overwrite ( FsPath path, byte newContents ) : System.Threading.Tasks.Task
path FsPath
newContents byte
return System.Threading.Tasks.Task

Overwrite() public method

public Overwrite ( FsPath path, string newContents ) : System.Threading.Tasks.Task
path FsPath
newContents string
return System.Threading.Tasks.Task

RawContents() public method

public RawContents ( FsPath path ) : Task
path FsPath
return Task

TextContents() public method

public TextContents ( FsPath path ) : Task
path FsPath
return Task