Method GetFileInfoAsync
Namespace: Belay.Sync
Assembly: Belay.Sync.dll
GetFileInfoAsync(string, CancellationToken)
Gets information about a specific file or directory on the device.
csharp
public Task<DeviceFileInfo?> GetFileInfoAsync(string path, CancellationToken cancellationToken = default)
Parameters
path
string
The path to examine.
cancellationToken
CancellationToken
Cancellation token to cancel the operation.
Returns
File information, or null if the path does not exist.