| 736 | } |
| 737 | |
| 738 | static bool ws_approval_path(const char *cache_dir, char *out, size_t out_sz) { |
| 739 | if (!cache_dir || !cache_dir[0]) { |
| 740 | return false; |
| 741 | } |
| 742 | int n = snprintf(out, out_sz, "%s/approved_manifests", cache_dir); |
| 743 | return n > 0 && (size_t)n < out_sz; |
| 744 | } |
| 745 | |
| 746 | bool cbm_workspace_manifest_is_approved(const char *cache_dir, const char *project_root, |
| 747 | const cbm_ws_manifest_t *manifest) { |
no outgoing calls
no test coverage detected