Table of Contents

Class FileVersionManager

Namespace
Stride.Core.Assets
Assembly
Stride.Core.Assets.dll
public class FileVersionManager
Inheritance
FileVersionManager

Properties

Instance

public static FileVersionManager Instance { get; }

Property Value

FileVersionManager

PeekAsyncRequestsLeft

Returns the amount of items scheduled left to process

public long PeekAsyncRequestsLeft { get; }

Property Value

long

Remarks

It may already be out of date as soon as it returns. Do not rely on this to check for completion, use the callbacks instead.

Methods

ComputeFileHash(UFile)

public ObjectId ComputeFileHash(UFile path)

Parameters

path UFile

Returns

ObjectId

ComputeFileHashAsync(UFile, Action<UFile, ObjectId>, CancellationToken?)

public void ComputeFileHashAsync(UFile path, Action<UFile, ObjectId> fileHashCallback = null, CancellationToken? cancellationToken = null)

Parameters

path UFile
fileHashCallback Action<UFile, ObjectId>
cancellationToken CancellationToken?

ComputeFileHashAsync(IEnumerable<UFile>, Action<UFile, ObjectId>, CancellationToken?)

public void ComputeFileHashAsync(IEnumerable<UFile> paths, Action<UFile, ObjectId> fileHashCallback = null, CancellationToken? cancellationToken = null)

Parameters

paths IEnumerable<UFile>
fileHashCallback Action<UFile, ObjectId>
cancellationToken CancellationToken?

Shutdown()

public static void Shutdown()