C# Class NodeNetAsync.Vfs.Local.LocalFileSystem

Inheritance: IVirtualFileSystem
Datei anzeigen Open project: soywiz/NodeNetAsync

Public Methods

Method Description
CreateDirectoryAsync ( VirtualFilePath Path, DirectorySecurity DirectorySecurity ) : System.Threading.Tasks.Task
EnumerateDirectoryAsync ( VirtualFilePath Path ) : Task>
GetFileInfoAsync ( VirtualFilePath Path ) : Task
LocalFileSystem ( string RootPath ) : System
OpenAsync ( VirtualFilePath Path, FileMode FileMode, FileAccess FileAccess, FileShare FileShare ) : Task

Protected Methods

Method Description
GetAbsolutePathFromRelative ( string RelativePath ) : string
GetRelativePathFromAbsolute ( string AbsolutePath ) : VirtualFilePath

Private Methods

Method Description
ConvertFileSystemInfoToVirtualFileInfo ( FileSystemInfo FileSystemInfo ) : VirtualFileInfo
UpdatedOnEvent ( ) : void

Method Details

CreateDirectoryAsync() public method

public CreateDirectoryAsync ( VirtualFilePath Path, DirectorySecurity DirectorySecurity ) : System.Threading.Tasks.Task
Path VirtualFilePath
DirectorySecurity System.Security.AccessControl.DirectorySecurity
return System.Threading.Tasks.Task

EnumerateDirectoryAsync() public method

public EnumerateDirectoryAsync ( VirtualFilePath Path ) : Task>
Path VirtualFilePath
return Task>

GetAbsolutePathFromRelative() protected method

protected GetAbsolutePathFromRelative ( string RelativePath ) : string
RelativePath string
return string

GetFileInfoAsync() public method

public GetFileInfoAsync ( VirtualFilePath Path ) : Task
Path VirtualFilePath
return Task

GetRelativePathFromAbsolute() protected method

protected GetRelativePathFromAbsolute ( string AbsolutePath ) : VirtualFilePath
AbsolutePath string
return VirtualFilePath

LocalFileSystem() public method

public LocalFileSystem ( string RootPath ) : System
RootPath string
return System

OpenAsync() public method

public OpenAsync ( VirtualFilePath Path, FileMode FileMode, FileAccess FileAccess, FileShare FileShare ) : Task
Path VirtualFilePath
FileMode FileMode
FileAccess FileAccess
FileShare FileShare
return Task