Esempio n. 1
0
        /// <inheritdoc />
        public async Task <bool> TouchDirectoriesAsync(IReadOnlyCollection <DirectoryInfo> directories, UpdateType type, CancellationToken token)
        {
            // if it is not a valid id then there is nothing for us to do.
            if (!directories.Any())
            {
                return(true);
            }

            var folderIds = await _folders.GetDirectoriesIdAsync(directories, token, false).ConfigureAwait(false);

            // we can now process all the folders.
            return(await TouchDirectoriesAsync(folderIds, type, token).ConfigureAwait(false));
        }