FileVersionManager Class
Namespace: Stride.Core.Assets
Assembly: Stride.Core.Assets.dll
System.Object →
FileVersionManager
Derived from FileVersionManager:
public class FileVersionManager
|
Improve this Doc
View Source
Properties
Instance
public static FileVersionManager Instance { get; }
Property Value
|
Improve this Doc
View Source
Methods
ComputeFileHash(UFile)
public ObjectId ComputeFileHash(UFile path)
Parameters
Type |
Name |
Description |
Stride.Core.IO.UFile |
path |
|
Returns
ComputeFileHashAsync(UFile, Action<UFile, ObjectId>, Nullable<CancellationToken>)
public void ComputeFileHashAsync(UFile path, Action<UFile, ObjectId> fileHashCallback = null, CancellationToken? cancellationToken = null)
Parameters
Type |
Name |
Description |
Stride.Core.IO.UFile |
path |
|
System.Action<Stride.Core.IO.UFile, ObjectId> |
fileHashCallback |
|
System.Nullable<System.Threading.CancellationToken> |
cancellationToken |
|
ComputeFileHashAsync(IEnumerable<UFile>, Action<UFile, ObjectId>, Nullable<CancellationToken>)
public void ComputeFileHashAsync(IEnumerable<UFile> paths, Action<UFile, ObjectId> fileHashCallback = null, CancellationToken? cancellationToken = null)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<Stride.Core.IO.UFile> |
paths |
|
System.Action<Stride.Core.IO.UFile, ObjectId> |
fileHashCallback |
|
System.Nullable<System.Threading.CancellationToken> |
cancellationToken |
|
Shutdown()
public static void Shutdown()
Extension Methods