public async Task Commit()
        {
            await AsyncDirectory.Move(transactionDir, commitDir).ConfigureAwait(false);

            committed = true;
        }
        public async Task Commit(CancellationToken cancellationToken)
        {
            await AsyncDirectory.Move(transactionDir, commitDir, cancellationToken).ConfigureAwait(false);

            committed = true;
        }