示例#1
0
        public Task <bool> DoesPackageFileExistAsync(PackageValidationSet validationSet)
        {
            var fileName = BuildFileName(validationSet, _fileMetadataService.FileSavePathTemplate, _fileMetadataService.FileExtension);

            return(_fileStorageService.FileExistsAsync(_fileMetadataService.FileFolderName, fileName));
        }
示例#2
0
        public Task <bool> DoesPackageFileExistAsync(Package package)
        {
            var fileName = BuildFileName(package, CoreConstants.PackageFileSavePathTemplate, CoreConstants.NuGetPackageFileExtension);

            return(_fileStorageService.FileExistsAsync(CoreConstants.PackagesFolderName, fileName));
        }
        public Task <bool> DoesPackageFileExistAsync(Package package)
        {
            var fileName = BuildFileName(package, _metadata.FileSavePathTemplate, _metadata.FileExtension);

            return(_fileStorageService.FileExistsAsync(_metadata.FileFolderName, fileName));
        }
示例#4
0
        public Task <bool> DoesValidationSetPackageExistAsync(PackageValidationSet validationSet)
        {
            var fileName = BuildValidationSetPackageFileName(validationSet);

            return(_fileStorageService.FileExistsAsync(CoreConstants.ValidationFolderName, fileName));
        }