Table of Contents

Method DeleteFileAsync

Namespace
PowerSync.Common.Attachments
Assembly
PowerSync.Common.dll

DeleteFileAsync(string)

Deletes the file at the given path. No-ops if the file doesn't exist.

public Task DeleteFileAsync(string filePath)

Parameters

filePath string

Path of the file to delete.

Returns

Task

A task that completes when the file has been deleted or if it didn't exist.