forked from microsoft/winget-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update WinGetUtilInterop project (microsoft#4045)
This PR fulfills my lifelong dream of updating the `WinGetUtilInterop` to include most of the APIs from `WinGetUtil`. Internally we have a project with all this code, so I just copy them here with some minor changes. Because of that, some of them are not included. The idea would be that any new APIs added into WinGetUtil should have their corresponding C# interop implementation in the same PR. APIs included: - WinGetLoggingInit - WinGetLoggingTerm - WinGetSQLiteIndexCreate - WinGetSQLiteIndexOpen - WinGetSQLiteIndexClose - WinGetSQLiteIndexAddManifest - WinGetSQLiteIndexUpdateManifest - WinGetSQLiteIndexRemoveManifest - WinGetSQLiteIndexPrepareForPackaging - WinGetSQLiteIndexCheckConsistency - WinGetCreateManifest - WinGetCloseManifest - WinGetValidateManifestV3 - WinGetDownload - WinGetCompareVersions - WinGetBeginInstallerMetadataCollection - WinGetCompleteInstallerMetadataCollection Missing ones: - WinGetValidateManifest - WinGetValidateManifestV2 - WinGetValidateManifestDependencies - WinGetMergeInstallerMetadata In that project we just have SQLite tests, so I port them too. I also added the same stylecops convention so you will see some header changes.
- Loading branch information
1 parent
6cd7b86
commit b4d8c96
Showing
55 changed files
with
2,072 additions
and
577 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.