/// <inheritdoc /> public async Task <bool> TouchFileAsync(FileInfo file, UpdateType type, CancellationToken token) { var fileId = await _files.GetFileIdAsync(file, token, false).ConfigureAwait(false); if (-1 == fileId) { return(true); } // then we can do the update return(await TouchFilesAsync(new [] { fileId }, file.LastWriteTimeUtc.Ticks, type, token).ConfigureAwait(false)); }