C# Class fs4net.Framework.Impl.FileSystemImpl

Inheritance: IInternalFileSystem
Show file Open project: toroso/fs4net Class Usage Examples

Public Methods

Method Description
CopyAndOverwriteFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
CopyFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
CreateAppendStream ( RootedCanonicalPath path ) : System.IO.Stream
CreateDirectory ( RootedCanonicalPath path ) : void
CreateModifyStream ( RootedCanonicalPath path ) : System.IO.Stream
CreateReadStream ( RootedCanonicalPath path ) : System.IO.Stream
CreateWriteStream ( RootedCanonicalPath path ) : System.IO.Stream
DeleteDirectory ( RootedCanonicalPath path, bool recursive ) : void
DeleteFile ( RootedCanonicalPath path ) : void
FileSystemImpl ( ) : System
GetCurrentDirectory ( ) : string
GetDirectoriesInDirectory ( RootedCanonicalPath path ) : IEnumerable
GetDirectoryCreationTime ( RootedCanonicalPath path ) : System.DateTime
GetDirectoryLastAccessTime ( RootedCanonicalPath path ) : System.DateTime
GetDirectoryLastWriteTime ( RootedCanonicalPath path ) : System.DateTime
GetFileCreationTime ( RootedCanonicalPath path ) : System.DateTime
GetFileLastAccessTime ( RootedCanonicalPath path ) : System.DateTime
GetFileLastWriteTime ( RootedCanonicalPath path ) : System.DateTime
GetFileSize ( RootedCanonicalPath path ) : long
GetFilesInDirectory ( RootedCanonicalPath path ) : IEnumerable
IsDirectory ( RootedCanonicalPath path ) : bool
IsFile ( RootedCanonicalPath path ) : bool
MoveDirectory ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
MoveFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
SetCurrentDirectory ( RootedCanonicalPath path ) : void
SetDirectoryCreationTime ( RootedCanonicalPath path, System.DateTime at ) : void
SetDirectoryLastAccessTime ( RootedCanonicalPath path, System.DateTime at ) : void
SetDirectoryLastWriteTime ( RootedCanonicalPath path, System.DateTime at ) : void
SetFileCreationTime ( RootedCanonicalPath path, System.DateTime at ) : void
SetFileLastAccessTime ( RootedCanonicalPath path, System.DateTime at ) : void
SetFileLastWriteTime ( RootedCanonicalPath path, System.DateTime at ) : void

Private Methods

Method Description
FullPathWithBackslashOnDrives ( string fullPath ) : string

Method Details

CopyAndOverwriteFile() public method

public CopyAndOverwriteFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
source RootedCanonicalPath
destination RootedCanonicalPath
return void

CopyFile() public method

public CopyFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
source RootedCanonicalPath
destination RootedCanonicalPath
return void

CreateAppendStream() public method

public CreateAppendStream ( RootedCanonicalPath path ) : System.IO.Stream
path RootedCanonicalPath
return System.IO.Stream

CreateDirectory() public method

public CreateDirectory ( RootedCanonicalPath path ) : void
path RootedCanonicalPath
return void

CreateModifyStream() public method

public CreateModifyStream ( RootedCanonicalPath path ) : System.IO.Stream
path RootedCanonicalPath
return System.IO.Stream

CreateReadStream() public method

public CreateReadStream ( RootedCanonicalPath path ) : System.IO.Stream
path RootedCanonicalPath
return System.IO.Stream

CreateWriteStream() public method

public CreateWriteStream ( RootedCanonicalPath path ) : System.IO.Stream
path RootedCanonicalPath
return System.IO.Stream

DeleteDirectory() public method

public DeleteDirectory ( RootedCanonicalPath path, bool recursive ) : void
path RootedCanonicalPath
recursive bool
return void

DeleteFile() public method

public DeleteFile ( RootedCanonicalPath path ) : void
path RootedCanonicalPath
return void

FileSystemImpl() public method

public FileSystemImpl ( ) : System
return System

GetCurrentDirectory() public method

public GetCurrentDirectory ( ) : string
return string

GetDirectoriesInDirectory() public method

public GetDirectoriesInDirectory ( RootedCanonicalPath path ) : IEnumerable
path RootedCanonicalPath
return IEnumerable

GetDirectoryCreationTime() public method

public GetDirectoryCreationTime ( RootedCanonicalPath path ) : System.DateTime
path RootedCanonicalPath
return System.DateTime

GetDirectoryLastAccessTime() public method

public GetDirectoryLastAccessTime ( RootedCanonicalPath path ) : System.DateTime
path RootedCanonicalPath
return System.DateTime

GetDirectoryLastWriteTime() public method

public GetDirectoryLastWriteTime ( RootedCanonicalPath path ) : System.DateTime
path RootedCanonicalPath
return System.DateTime

GetFileCreationTime() public method

public GetFileCreationTime ( RootedCanonicalPath path ) : System.DateTime
path RootedCanonicalPath
return System.DateTime

GetFileLastAccessTime() public method

public GetFileLastAccessTime ( RootedCanonicalPath path ) : System.DateTime
path RootedCanonicalPath
return System.DateTime

GetFileLastWriteTime() public method

public GetFileLastWriteTime ( RootedCanonicalPath path ) : System.DateTime
path RootedCanonicalPath
return System.DateTime

GetFileSize() public method

public GetFileSize ( RootedCanonicalPath path ) : long
path RootedCanonicalPath
return long

GetFilesInDirectory() public method

public GetFilesInDirectory ( RootedCanonicalPath path ) : IEnumerable
path RootedCanonicalPath
return IEnumerable

IsDirectory() public method

public IsDirectory ( RootedCanonicalPath path ) : bool
path RootedCanonicalPath
return bool

IsFile() public method

public IsFile ( RootedCanonicalPath path ) : bool
path RootedCanonicalPath
return bool

MoveDirectory() public method

public MoveDirectory ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
source RootedCanonicalPath
destination RootedCanonicalPath
return void

MoveFile() public method

public MoveFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
source RootedCanonicalPath
destination RootedCanonicalPath
return void

SetCurrentDirectory() public method

public SetCurrentDirectory ( RootedCanonicalPath path ) : void
path RootedCanonicalPath
return void

SetDirectoryCreationTime() public method

public SetDirectoryCreationTime ( RootedCanonicalPath path, System.DateTime at ) : void
path RootedCanonicalPath
at System.DateTime
return void

SetDirectoryLastAccessTime() public method

public SetDirectoryLastAccessTime ( RootedCanonicalPath path, System.DateTime at ) : void
path RootedCanonicalPath
at System.DateTime
return void

SetDirectoryLastWriteTime() public method

public SetDirectoryLastWriteTime ( RootedCanonicalPath path, System.DateTime at ) : void
path RootedCanonicalPath
at System.DateTime
return void

SetFileCreationTime() public method

public SetFileCreationTime ( RootedCanonicalPath path, System.DateTime at ) : void
path RootedCanonicalPath
at System.DateTime
return void

SetFileLastAccessTime() public method

public SetFileLastAccessTime ( RootedCanonicalPath path, System.DateTime at ) : void
path RootedCanonicalPath
at System.DateTime
return void

SetFileLastWriteTime() public method

public SetFileLastWriteTime ( RootedCanonicalPath path, System.DateTime at ) : void
path RootedCanonicalPath
at System.DateTime
return void