| 615 | } |
| 616 | |
| 617 | static const char *application_watch_strategy_name(cbm_watcher_strategy_t strategy) { |
| 618 | switch (strategy) { |
| 619 | case CBM_WATCHER_STRATEGY_GIT: |
| 620 | return "git"; |
| 621 | case CBM_WATCHER_STRATEGY_TREE: |
| 622 | return "tree"; |
| 623 | case CBM_WATCHER_STRATEGY_NONE: |
| 624 | return "none"; |
| 625 | default: |
| 626 | return "pending"; |
| 627 | } |
| 628 | } |
| 629 | |
| 630 | /* index_status watch visibility (#2167). The physical watcher is the truth for |
| 631 | * "watched"; the reasons explain the documented scope: only an MCP session's |
no outgoing calls
no test coverage detected