src/NuGetGallery/Services/PackageFileService.cs
/// <summary>
/// Deletes the package readme.md file from storage.
/// </summary>
/// <param name="package">The package associated with the readme.</param>
Deletes the package readme.md file from storage.
Deletes the package readme . md file from storage .
public Task DeleteReadMeMdFileAsync(Package package)
        {
            if (package == null)
            {
                throw new ArgumentNullException(nameof(package));
            }
            var fileName = FileNameHelper.BuildFileName(package, ReadMeFilePathTemplateActive, ServicesConstants.MarkdownFileExtension);
            return _fileStorageService.DeleteFileAsync(CoreConstants.Folders.PackageReadMesFolderName, fileName);
        }
public Task DeleteReadMeMdFileAsync ( Package package ) { if ( package == null ) { throw new ArgumentNullException ( nameof ( package ) ) ; } var fileName = FileNameHelper . BuildFileName ( package , ReadMeFilePathTemplateActive , ServicesConstants . MarkdownFileExtension ) ; return _fileStorageService . DeleteFileAsync ( CoreConstants . Folders . PackageReadMesFolderName , fileName ) ; }
Deletes the package readme.md file from storage.
Deletes the package readme . md file from storage .
package
Package
The package associated with the readme.
The package associated with the readme .