Exclude snapshot directory only when snapshot mode is enabled

This commit is contained in:
Andrea Mazzoleni 2026-08-14 09:47:12 +02:00
parent a8a94bb950
commit 3e71e68848
4 changed files with 7 additions and 4 deletions

View file

@ -649,7 +649,7 @@ int filter_content(tommy_list* contentlist, const char* mount_point, size_t moun
* Filter a path that is in a snapshot
* Return !=0 if should be excluded.
*/
int filter_snapshot(const char* sub, const char* name);
int filter_snapshot(int enable, const char* sub, const char* name);
/**
* Check if the specified hash is invalid.