C# Class PsGet.Abstractions.PhysicalFileSystem

Inheritance: IFileSystem
Show file Open project: anurse/PS-Get Class Usage Examples

Public Methods

Method Description
DeleteFile ( string fileName ) : void
FileExists ( string fileName ) : bool
GetAllFiles ( ) : IEnumerable
GetFullPath ( string fileName ) : string
OpenFile ( string fileName ) : Stream
PhysicalFileSystem ( string root ) : System

Private Methods

Method Description
GetAllFiles ( string dir ) : IEnumerable>

Method Details

DeleteFile() public method

public DeleteFile ( string fileName ) : void
fileName string
return void

FileExists() public method

public FileExists ( string fileName ) : bool
fileName string
return bool

GetAllFiles() public method

public GetAllFiles ( ) : IEnumerable
return IEnumerable

GetFullPath() public method

public GetFullPath ( string fileName ) : string
fileName string
return string

OpenFile() public method

public OpenFile ( string fileName ) : Stream
fileName string
return Stream

PhysicalFileSystem() public method

public PhysicalFileSystem ( string root ) : System
root string
return System