Table of Contents

Method CaptureBeforeMutationAsync

Namespace
Oscova.Agents.FileBackups
Assembly
Oscova.Agents.dll

CaptureBeforeMutationAsync(string, string, CancellationToken)

Captures the current file contents before a caller mutates the file.

public Task<UserFileBackupCaptureResult> CaptureBeforeMutationAsync(string userId, string relativePath, CancellationToken ct = default)

Parameters

userId string
relativePath string
ct CancellationToken

Returns

Task<UserFileBackupCaptureResult>