C# Class Two10.AzureBlobDrive.AzureOperations

Inheritance: DokanOperations
Mostra file Open project: richorama/AzureBlobDrive

Public Methods

Method Description
AzureOperations ( string connectionString ) : System
Cleanup ( string filename, DokanFileInfo info ) : int
CloseFile ( string filename, DokanFileInfo info ) : int
CreateDirectory ( string filename, DokanFileInfo info ) : int
CreateFile ( string filename, System access, System share, System mode, System options, DokanFileInfo info ) : int
DeleteDirectory ( string filename, DokanFileInfo info ) : int
DeleteFile ( string filename, DokanFileInfo info ) : int
FindFiles ( string filename, System files, DokanFileInfo info ) : int
FlushFileBuffers ( string filename, DokanFileInfo info ) : int
GetDiskFreeSpace ( ulong &freeBytesAvailable, ulong &totalBytes, ulong &totalFreeBytes, DokanFileInfo info ) : int
GetFileInformation ( string filename, FileInformation fileinfo, DokanFileInfo info ) : int
IsContainerNameValid ( string containerName ) : bool
LockFile ( string filename, long offset, long length, DokanFileInfo info ) : int
MoveFile ( string filename, string newname, bool replace, DokanFileInfo info ) : int
OpenDirectory ( string filename, DokanFileInfo info ) : int
ReadFile ( string filename, byte buffer, uint &readBytes, long offset, DokanFileInfo info ) : int
SetAllocationSize ( string filename, long length, DokanFileInfo info ) : int
SetEndOfFile ( string filename, long length, DokanFileInfo info ) : int
SetFileAttributes ( string filename, System attr, DokanFileInfo info ) : int
SetFileTime ( string filename, System.DateTime ctime, System.DateTime atime, System.DateTime mtime, DokanFileInfo info ) : int
UnlockFile ( string filename, long offset, long length, DokanFileInfo info ) : int
Unmount ( DokanFileInfo info ) : int
WriteFile ( string filename, byte buffer, uint &writtenBytes, long offset, DokanFileInfo info ) : int

Private Methods

Method Description
BlobAtPath ( string file, string folderPrefix, bool exactMatch ) : bool
GetAllContainers ( ) : Microsoft.WindowsAzure.StorageClient.CloudBlobContainer[]
GetBlob ( string filename, bool mustExist ) : CloudBlob
GetBlobDetail ( Uri uri ) : CloudBlob
GetBlobsStartingWith ( string prefix, CloudBlobContainer container, bool exactMatch ) : IEnumerable
GetContainer ( string containerName ) : CloudBlobContainer
GetFoldersStartingWith ( string prefix, bool matchOnly ) : string[]
GetStream ( string filename ) : MemoryStream
IsSubFolderMatch ( Uri uri, string prefix, bool matchOnly ) : bool

Method Details

AzureOperations() public method

public AzureOperations ( string connectionString ) : System
connectionString string
return System

Cleanup() public method

public Cleanup ( string filename, DokanFileInfo info ) : int
filename string
info Dokan.DokanFileInfo
return int

CloseFile() public method

public CloseFile ( string filename, DokanFileInfo info ) : int
filename string
info Dokan.DokanFileInfo
return int

CreateDirectory() public method

public CreateDirectory ( string filename, DokanFileInfo info ) : int
filename string
info Dokan.DokanFileInfo
return int

CreateFile() public method

public CreateFile ( string filename, System access, System share, System mode, System options, DokanFileInfo info ) : int
filename string
access System
share System
mode System
options System
info Dokan.DokanFileInfo
return int

DeleteDirectory() public method

public DeleteDirectory ( string filename, DokanFileInfo info ) : int
filename string
info Dokan.DokanFileInfo
return int

DeleteFile() public method

public DeleteFile ( string filename, DokanFileInfo info ) : int
filename string
info Dokan.DokanFileInfo
return int

FindFiles() public method

public FindFiles ( string filename, System files, DokanFileInfo info ) : int
filename string
files System
info Dokan.DokanFileInfo
return int

FlushFileBuffers() public method

public FlushFileBuffers ( string filename, DokanFileInfo info ) : int
filename string
info Dokan.DokanFileInfo
return int

GetDiskFreeSpace() public method

public GetDiskFreeSpace ( ulong &freeBytesAvailable, ulong &totalBytes, ulong &totalFreeBytes, DokanFileInfo info ) : int
freeBytesAvailable ulong
totalBytes ulong
totalFreeBytes ulong
info Dokan.DokanFileInfo
return int

GetFileInformation() public method

public GetFileInformation ( string filename, FileInformation fileinfo, DokanFileInfo info ) : int
filename string
fileinfo Dokan.FileInformation
info Dokan.DokanFileInfo
return int

IsContainerNameValid() public static method

public static IsContainerNameValid ( string containerName ) : bool
containerName string
return bool

LockFile() public method

public LockFile ( string filename, long offset, long length, DokanFileInfo info ) : int
filename string
offset long
length long
info Dokan.DokanFileInfo
return int

MoveFile() public method

public MoveFile ( string filename, string newname, bool replace, DokanFileInfo info ) : int
filename string
newname string
replace bool
info Dokan.DokanFileInfo
return int

OpenDirectory() public method

public OpenDirectory ( string filename, DokanFileInfo info ) : int
filename string
info Dokan.DokanFileInfo
return int

ReadFile() public method

public ReadFile ( string filename, byte buffer, uint &readBytes, long offset, DokanFileInfo info ) : int
filename string
buffer byte
readBytes uint
offset long
info Dokan.DokanFileInfo
return int

SetAllocationSize() public method

public SetAllocationSize ( string filename, long length, DokanFileInfo info ) : int
filename string
length long
info Dokan.DokanFileInfo
return int

SetEndOfFile() public method

public SetEndOfFile ( string filename, long length, DokanFileInfo info ) : int
filename string
length long
info Dokan.DokanFileInfo
return int

SetFileAttributes() public method

public SetFileAttributes ( string filename, System attr, DokanFileInfo info ) : int
filename string
attr System
info Dokan.DokanFileInfo
return int

SetFileTime() public method

public SetFileTime ( string filename, System.DateTime ctime, System.DateTime atime, System.DateTime mtime, DokanFileInfo info ) : int
filename string
ctime System.DateTime
atime System.DateTime
mtime System.DateTime
info Dokan.DokanFileInfo
return int

UnlockFile() public method

public UnlockFile ( string filename, long offset, long length, DokanFileInfo info ) : int
filename string
offset long
length long
info Dokan.DokanFileInfo
return int

Unmount() public method

public Unmount ( DokanFileInfo info ) : int
info Dokan.DokanFileInfo
return int

WriteFile() public method

public WriteFile ( string filename, byte buffer, uint &writtenBytes, long offset, DokanFileInfo info ) : int
filename string
buffer byte
writtenBytes uint
offset long
info Dokan.DokanFileInfo
return int