<PackageReference Include="Relativity.Transfer.Client" Version="5.0.2" />

PathEnumeratorBase

public abstract class PathEnumeratorBase : IPathEnumerator
protected ClientLimits ClientLimits { get; }

protected ITransferLog Log { get; }

protected PathEnumeratorBase(ITransferLog log, ClientLimits limits, IFileSystemService fileSystemService)

protected virtual string GetLocalPath(string path)

protected abstract Task<bool> OnCheckFileExistsAsync(string path, CancellationToken token)

protected abstract Task<bool> OnCheckFolderExistsAsync(string path, CancellationToken token)

protected abstract Task<bool> OnCheckIsEmptyAsync(string path, CancellationToken token)

protected abstract Task<IEnumerable<FileItem>> OnEnumerateFilesAsync(string path, PathEnumeratorContext context, CancellationToken token)

protected abstract Task<FileItem> OnGetFileItemAsync(string path, CancellationToken token)

protected abstract Task<FolderItem> OnGetFolderItemAsync(string path, CancellationToken token)

public virtual Task<SerializedPathsResult> SerializeAsync(string batchDirectory, PathEnumeratorContext context)

public Task<SerializedPathsResult> SerializeAsync(string batchDirectory, PathEnumeratorContext context, CancellationToken token)