Class FileVersionManager
public class FileVersionManager
- Inheritance
-
FileVersionManager
Properties
Instance
public static FileVersionManager Instance { get; }
Property Value
Methods
ComputeFileHash(UFile)
public ObjectId ComputeFileHash(UFile path)
Parameters
path
UFile
Returns
ComputeFileHashAsync(UFile, Action<UFile, ObjectId>, CancellationToken?)
public void ComputeFileHashAsync(UFile path, Action<UFile, ObjectId> fileHashCallback = null, CancellationToken? cancellationToken = null)
Parameters
path
UFilefileHashCallback
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()