zpmod
b19981f
High-performance Zsh module for script optimization and filesystem helpers
|
Incremental PATH diff rehash entrypoint. More...
Go to the source code of this file.
Macros | |
#define | ZPMOD_REHASH_H |
Functions | |
int | zp_rehash_diff_core (char *nam) |
Incremental PATH diff rehash entrypoint.
Phase 2 scaffold: zpmod rehash-diff
will rehash only new/changed PATH segments versus a cached snapshot of prior directories + mtimes.
Definition in file zpmod_rehash.h.
#define ZPMOD_REHASH_H |
Definition at line 4 of file zpmod_rehash.h.
int zp_rehash_diff_core | ( | char * | nam | ) |
Definition at line 241 of file rehash_diff.c.
References rh_entry::ino, rh_vec::items, rh_entry::mtime, rh_entry::path, rh_entry::present_now, rh_collect_current(), rh_load(), rh_vec_free(), rh_vec_init(), rh_write(), rh_vec::size, zp_icon(), zp_rh_file(), and zsfree().
Referenced by bin_zpmod().