C# Class SharpUV.Filesystem

Show file Open project: gigi81/sharpuv Class Usage Examples

Public Methods

Method Description
Copy ( string source, string destination, Action callback = null ) : void
CreateDirectory ( string path, Action callback = null ) : void
CreateDirectory ( string path, FilePermissions permissions, Action callback = null ) : void
Delete ( string path, Action callback = null ) : void
Filesystem ( ) : System
Filesystem ( Loop loop ) : System
RemoveDirectory ( string path, Action callback = null ) : void
Stat ( string path, Action callback = null ) : void

Protected Methods

Method Description
OnCopy ( UvArgs args ) : void
OnCreateDirectory ( UvArgs args ) : void
OnDelete ( UvArgs args ) : void
OnRemoveDirectory ( UvArgs args ) : void
OnStat ( UvStatArgs args ) : void

Private Methods

Method Description
CheckError ( int code ) : void
CreateRequest ( ) : IntPtr
FreeRequest ( IntPtr req ) : int
FreeStatRequest ( IntPtr req ) : UvStatArgs
InitDelegates ( ) : void
OnCopyInternal ( UvArgs args ) : void
OnCreateDirectory ( IntPtr req ) : void
OnDelete ( IntPtr req ) : void
OnRemoveDirectory ( IntPtr req ) : void
OnStat ( IntPtr req ) : void

Method Details

Copy() public method

public Copy ( string source, string destination, Action callback = null ) : void
source string
destination string
callback Action
return void

CreateDirectory() public method

public CreateDirectory ( string path, Action callback = null ) : void
path string
callback Action
return void

CreateDirectory() public method

public CreateDirectory ( string path, FilePermissions permissions, Action callback = null ) : void
path string
permissions FilePermissions
callback Action
return void

Delete() public method

public Delete ( string path, Action callback = null ) : void
path string
callback Action
return void

Filesystem() public method

public Filesystem ( ) : System
return System

Filesystem() public method

public Filesystem ( Loop loop ) : System
loop Loop
return System

OnCopy() protected method

protected OnCopy ( UvArgs args ) : void
args UvArgs
return void

OnCreateDirectory() protected method

protected OnCreateDirectory ( UvArgs args ) : void
args UvArgs
return void

OnDelete() protected method

protected OnDelete ( UvArgs args ) : void
args UvArgs
return void

OnRemoveDirectory() protected method

protected OnRemoveDirectory ( UvArgs args ) : void
args UvArgs
return void

OnStat() protected method

protected OnStat ( UvStatArgs args ) : void
args UvStatArgs
return void

RemoveDirectory() public method

public RemoveDirectory ( string path, Action callback = null ) : void
path string
callback Action
return void

Stat() public method

public Stat ( string path, Action callback = null ) : void
path string
callback Action
return void