winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

PackageDependenciesValidation.h (593B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "Microsoft/SQLiteIndex.h"
      5 #include <winget/Manifest.h>
      6 
      7 namespace AppInstaller::Repository
      8 {
      9     using namespace AppInstaller::Repository::Microsoft;
     10 
     11     struct PackageDependenciesValidation
     12     {
     13         // Validate the dependencies of the given manifest.
     14         static bool ValidateManifestDependencies(SQLiteIndex* index, const Manifest::Manifest& manifest);
     15 
     16         static bool VerifyDependenciesStructureForManifestDelete(SQLiteIndex* index, const Manifest::Manifest& manifest);
     17     };
     18 }