Skip to content

Commit

Permalink
Fix issue #2796 (#2797)
Browse files Browse the repository at this point in the history
* Fix issue #2796 before v2.5.0 release
* Validate against other 'sync_list' use cases with verification
* Update Client Side Filtering documentation
  • Loading branch information
abraunegg authored Sep 13, 2024
1 parent 46e4e0e commit ef6a431
Show file tree
Hide file tree
Showing 4 changed files with 320 additions and 86 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions docs/puml/client_side_filtering_processing_order.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
@startuml
|Decision Tree|
:Start Client Side Filtering Evaluation;
if (check_nosync?) then (true)
:Skip item (no sync);
else (false)
if (skip_dotfiles?) then (true)
:Skip file (dotfile);
else (false)
if (skip_symlinks?) then (true)
:Skip item (symlink);
else (false)
if (skip_dir?) then (true)
:Skip directory;
else (false)
if (skip_file?) then (true)
:Skip file;
else (false)
if (in sync_list?) then (false)
:Skip item (not in sync list);
else (true)
if (skip_size?) then (true)
:Skip file (size too large);
else (false)
:File or Directory flagged\nto be synced;
endif
endif
endif
endif
endif
endif
endif
:End Client Side Filtering Evaluation;
@enduml
4 changes: 4 additions & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ These configurable options and the 'sync_list' file provide users with the flexi
> 6. 'sync_list'
> 7. 'skip_size'
>
> This can be best illustrated below:
>
> ![Client Side Filtering Processing Order](./puml/client_side_filtering_processing_order.png)
>
> For further details please review the [client architecture](client-architecture.md) documentation.
> [!IMPORTANT]
Expand Down
Loading

0 comments on commit ef6a431

Please sign in to comment.