InedoSDK Reference
Version:

FileSystem Class

Represents a file system used to store hierarchical data.

Inheritance Hierarchy

  • object
    • Inedo.Extensibility.FileSystems.FileSystem

Syntax

public class FileSystem : System.IDisposable, System.IAsyncDisposable

Constructors

Name Description
FileSystem

Initializes a new instance of the FileSystem class.

Properties

Name Description
CaseSensitive

Gets a value indicating whether the file system is case-sensitive.

UsePublicUrlForDownloads

Gets a value indicating whether the FileSystemItem.PublicUrl value should be used for file downloads when possible.

Methods

Name Description
BeginResumableUploadAsync(string fileName, System.Threading.CancellationToken cancellationToken)
CancelResumableUploadAsync(string fileName, byte[] state, System.Threading.CancellationToken cancellationToken)
CompleteResumableUploadAsync(string fileName, byte[] state, System.Threading.CancellationToken cancellationToken)
ContinueResumableUploadAsync(string fileName, byte[] state, System.Threading.CancellationToken cancellationToken)
CopyFileAsync(string sourceName, string targetName, bool overwrite, System.Threading.CancellationToken cancellationToken)
CreateDirectoryAsync(string directoryName, System.Threading.CancellationToken cancellationToken)
CreateFileAsync(string fileName, FileAccessHints hints, System.Threading.CancellationToken cancellationToken)
DeleteDirectoryAsync(string directoryName, bool recursive, System.Threading.CancellationToken cancellationToken)
DeleteFileAsync(string fileName, System.Threading.CancellationToken cancellationToken)
DirectoryExistsAsync(string directoryName, System.Threading.CancellationToken cancellationToken)
Dispose(bool disposing)

Releases resources used by this instance.

DisposeAsync

Releases resources used by this instance.

FileExistsAsync(string fileName, System.Threading.CancellationToken cancellationToken)
GetDescription

Returns the name of this storage mechanism and non-sensitive configuration information.

GetDirectoryContentSizeAsync(string path, bool recursive, System.Threading.CancellationToken cancellationToken)
GetInfoAsync(string path, System.Threading.CancellationToken cancellationToken)
ListContentsAsync(string path, System.Threading.CancellationToken cancellationToken)
MoveFileAsync(string originalName, string newName, bool overwrite, System.Threading.CancellationToken cancellationToken)
OpenReadAsync(string fileName, FileAccessHints hints, System.Threading.CancellationToken cancellationToken)