[thomasmonkman-filewatch] Fix patch for the latest version of FileWatch (#36091)

* Fix template type

* Add version

---------

Co-authored-by: Pablo Rodriguez Avila <pabloro@microsoft.com>
This commit is contained in:
Pravila 2024-01-11 01:06:15 +00:00 committed by GitHub
parent 1489e83212
commit 491be104ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 4 deletions

View File

@ -26,11 +26,11 @@ index 4eba08b..2c0ff6d 100644
}
+ else if (event->mask & IN_MOVED_FROM)
+ {
+ parsed_information.emplace_back(T{ changed_file }, Event::renamed_old);
+ parsed_information.emplace_back(StringType{ changed_file }, Event::renamed_old);
+ }
+ else if (event->mask & IN_MOVED_TO)
+ {
+ parsed_information.emplace_back(T{ changed_file }, Event::renamed_new);
+ parsed_information.emplace_back(StringType{ changed_file }, Event::renamed_new);
+ }
}
}

View File

@ -1,7 +1,7 @@
{
"name": "thomasmonkman-filewatch",
"version-date": "2023-01-16",
"port-version": 1,
"port-version": 2,
"description": "File watcher in C++.",
"homepage": "https://github.com/ThomasMonkman/filewatch",
"license": "MIT"

View File

@ -8418,7 +8418,7 @@
},
"thomasmonkman-filewatch": {
"baseline": "2023-01-16",
"port-version": 1
"port-version": 2
},
"thor": {
"baseline": "2022-04-16",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f3f6f9e4f5a7ac943e3f0ec0c81bcdc3db371705",
"version-date": "2023-01-16",
"port-version": 2
},
{
"git-tree": "6dede6ba1ac505ea4bd64c60bf97edfe7b8d5647",
"version-date": "2023-01-16",