Move cache validation logic into ctpv.c

This commit is contained in:
Nikita Ivanov
2022-05-28 19:07:59 +05:00
parent 770d92769e
commit d2b86ba8b3
7 changed files with 107 additions and 27 deletions

View File

@ -34,6 +34,8 @@ int spawn(char *args[], pid_t *cpid, int *exitcode, int (*cfunc)(const void *),
const void *carg);
int strcmpnull(char const *s1, char const *s2);
int get_cache_dir(char *buf, size_t len, char *name);
int mkpath(char* file_path, mode_t mode);
CharVec char_v_new(size_t cap);
void char_v_append(CharVec *v, char c);