| 64 | cbm_store_count_nodes(s,SS_PROJECT)==6; |
| 65 | } |
| 66 | static bool ss_line(cbm_store_t *s,int64_t id,int line) { |
| 67 | cbm_node_t row={0}; bool ok=cbm_store_find_node_by_id(s,id,&row)==CBM_STORE_OK && row.start_line==line; |
| 68 | cbm_node_free_fields(&row); return ok; |
| 69 | } |
| 70 | static bool ss_file_open(ss_file_t *f) { |
| 71 | memset(f,0,sizeof(*f)); const char *dir=th_mktempdir("cbm-store-scope"); |
| 72 | if (!dir || strlen(dir)>=sizeof(f->dir)) return false; |
no test coverage detected