C# Class SharpUV.Filesystem

Afficher le fichier Open project: gigi81/sharpuv Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
OnCopy ( UvArgs args ) : void
OnCreateDirectory ( UvArgs args ) : void
OnDelete ( UvArgs args ) : void
OnRemoveDirectory ( UvArgs args ) : void
OnStat ( UvStatArgs args ) : void

Private Methods

Méthode 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 méthode

public Copy ( string source, string destination, Action callback = null ) : void
source string
destination string
callback Action
Résultat void

CreateDirectory() public méthode

public CreateDirectory ( string path, Action callback = null ) : void
path string
callback Action
Résultat void

CreateDirectory() public méthode

public CreateDirectory ( string path, FilePermissions permissions, Action callback = null ) : void
path string
permissions FilePermissions
callback Action
Résultat void

Delete() public méthode

public Delete ( string path, Action callback = null ) : void
path string
callback Action
Résultat void

Filesystem() public méthode

public Filesystem ( ) : System
Résultat System

Filesystem() public méthode

public Filesystem ( Loop loop ) : System
loop Loop
Résultat System

OnCopy() protected méthode

protected OnCopy ( UvArgs args ) : void
args UvArgs
Résultat void

OnCreateDirectory() protected méthode

protected OnCreateDirectory ( UvArgs args ) : void
args UvArgs
Résultat void

OnDelete() protected méthode

protected OnDelete ( UvArgs args ) : void
args UvArgs
Résultat void

OnRemoveDirectory() protected méthode

protected OnRemoveDirectory ( UvArgs args ) : void
args UvArgs
Résultat void

OnStat() protected méthode

protected OnStat ( UvStatArgs args ) : void
args UvStatArgs
Résultat void

RemoveDirectory() public méthode

public RemoveDirectory ( string path, Action callback = null ) : void
path string
callback Action
Résultat void

Stat() public méthode

public Stat ( string path, Action callback = null ) : void
path string
callback Action
Résultat void