comparison src/proto/fileio.pro @ 20643:c2beb6baa42c v8.2.0875

patch 8.2.0875: getting attributes for directory entries is slow Commit: https://github.com/vim/vim/commit/6c9ba0428041d5316871245be38c13faa0107026 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 1 16:09:41 2020 +0200 patch 8.2.0875: getting attributes for directory entries is slow Problem: Getting attributes for directory entries is slow. Solution: Add readdirex(). (Ken Takata, closes https://github.com/vim/vim/issues/5619)
author Bram Moolenaar <Bram@vim.org>
date Mon, 01 Jun 2020 16:15:03 +0200
parents e2be5a6485f5
children 69055d27e85e
comparison
equal deleted inserted replaced
20642:c0c5e1e1bad9 20643:c2beb6baa42c
29 int check_timestamps(int focus); 29 int check_timestamps(int focus);
30 int buf_check_timestamp(buf_T *buf, int focus); 30 int buf_check_timestamp(buf_T *buf, int focus);
31 void buf_reload(buf_T *buf, int orig_mode); 31 void buf_reload(buf_T *buf, int orig_mode);
32 void buf_store_time(buf_T *buf, stat_T *st, char_u *fname); 32 void buf_store_time(buf_T *buf, stat_T *st, char_u *fname);
33 void write_lnum_adjust(linenr_T offset); 33 void write_lnum_adjust(linenr_T offset);
34 int readdir_core(garray_T *gap, char_u *path, void *context, int (*checkitem)(void *context, char_u *name)); 34 int readdir_core(garray_T *gap, char_u *path, int withattr, void *context, int (*checkitem)(void *context, void *item));
35 int delete_recursive(char_u *name); 35 int delete_recursive(char_u *name);
36 void vim_deltempdir(void); 36 void vim_deltempdir(void);
37 char_u *vim_tempname(int extra_char, int keep); 37 char_u *vim_tempname(int extra_char, int keep);
38 void forward_slash(char_u *fname); 38 void forward_slash(char_u *fname);
39 int match_file_pat(char_u *pattern, regprog_T **prog, char_u *fname, char_u *sfname, char_u *tail, int allow_dirs); 39 int match_file_pat(char_u *pattern, regprog_T **prog, char_u *fname, char_u *sfname, char_u *tail, int allow_dirs);