Show / Hide Table of Contents

Class QBucketEntry

Represents an entry (file or folder) in a bucket.

Inheritance
object
QAbstractStorageEntry
QBucketEntry
Inherited Members
QAbstractStorageEntry.Size
QAbstractStorageEntry.Name
QAbstractStorageEntry.FileFlags
QAbstractStorageEntry.Digest
QAbstractStorageEntry.EqualsLocalFileDigest(string, CancellationToken)
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: QarnotSDK
Assembly: QarnotSDK.dll
Syntax
public class QBucketEntry : QAbstractStorageEntry

Properties

LastModified

Last modification date of this entry.

Declaration
public virtual DateTime LastModified { get; protected set; }
Property Value
Type Description
DateTime

PartSize

Size of one part if the file was uploaded in multi-part. Note: this value is filled only after a successful call to EqualsLocalFileDigest or EqualsLocalFileDigestAsync.

Declaration
public virtual long PartSize { get; }
Property Value
Type Description
long

Methods

EqualsLocalFileDigestAsync(string, CancellationToken)

Computes the digest of a local file and compares it to the digest of this bucket object. Note: if this entry was uploaded by parts with a part size different from the default (8MB), you may need to adjust the StorageAvailablePartSizes list in Connection. By default, this method will try to "guess" the correct part size.

Declaration
public override Task<bool> EqualsLocalFileDigestAsync(string localFilePath, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string localFilePath

The local file to compare to.

CancellationToken cancellationToken

A token to cancel the request.

Returns
Type Description
Task<bool>
Overrides
QAbstractStorageEntry.EqualsLocalFileDigestAsync(string, CancellationToken)
In this article
Back to top Generated by DocFX