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

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()