zpmod
b19981f
High-performance Zsh module for script optimization and filesystem helpers
|
Interface for cached compaudit security verdicts. More...
Go to the source code of this file.
Macros | |
#define | ZPMOD_COMPAUDIT_H |
Functions | |
int | zp_compaudit_cache_core (char *nam, int rebuild, int show, int json) |
Interface for cached compaudit security verdicts.
Phase 2 (scaffolding): Provides entrypoint for zpmod compaudit-cache
. Future implementation goals:
--rebuild
to force regeneration, --show
to print current cache Definition in file zpmod_compaudit.h.
#define ZPMOD_COMPAUDIT_H |
Definition at line 4 of file zpmod_compaudit.h.
int zp_compaudit_cache_core | ( | char * | nam, |
int | rebuild, | ||
int | show, | ||
int | json | ||
) |
Definition at line 584 of file compaudit_cache.c.
References zp_cc_vec::items, zp_cc_entry::parent_insecure, zp_cc_entry::path, zp_cc_vec::size, zp_cc_entry::verdict, zalloc(), zp_cc_cache_file_path(), zp_cc_collect_dirs(), zp_cc_incremental_update(), zp_cc_is_insecure(), zp_cc_load_cache(), zp_cc_rebuild(), zp_cc_validate_cache(), zp_cc_vec_free(), zp_cc_vec_init(), zp_icon(), zsfree(), and zp_cc_entry::zwc_insecure.
Referenced by bin_zpmod().