Mercurial > vim
diff src/proto/filepath.pro @ 17966:46f95606b9ec v8.1.1979
patch 8.1.1979: code for handling file names is spread out
Commit: https://github.com/vim/vim/commit/b005cd80cfda591be95146024d9b97eef383500f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 4 15:54:55 2019 +0200
patch 8.1.1979: code for handling file names is spread out
Problem: Code for handling file names is spread out.
Solution: Move code to new filepath.c file. Graduate FEAT_MODIFY_FNAME.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Sep 2019 16:00:04 +0200 |
parents | |
children | 8f4cc259ed7a |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/src/proto/filepath.pro @@ -0,0 +1,31 @@ +/* filepath.c */ +int modify_fname(char_u *src, int tilde_file, int *usedlen, char_u **fnamep, char_u **bufp, int *fnamelen); +void f_chdir(typval_T *argvars, typval_T *rettv); +void f_delete(typval_T *argvars, typval_T *rettv); +void f_executable(typval_T *argvars, typval_T *rettv); +void f_exepath(typval_T *argvars, typval_T *rettv); +void f_filereadable(typval_T *argvars, typval_T *rettv); +void f_filewritable(typval_T *argvars, typval_T *rettv); +void findfilendir(typval_T *argvars, typval_T *rettv, int find_what); +void f_finddir(typval_T *argvars, typval_T *rettv); +void f_findfile(typval_T *argvars, typval_T *rettv); +void f_fnamemodify(typval_T *argvars, typval_T *rettv); +void f_getcwd(typval_T *argvars, typval_T *rettv); +void f_getfperm(typval_T *argvars, typval_T *rettv); +void f_getfsize(typval_T *argvars, typval_T *rettv); +void f_getftime(typval_T *argvars, typval_T *rettv); +void f_getftype(typval_T *argvars, typval_T *rettv); +void f_glob(typval_T *argvars, typval_T *rettv); +void f_glob2regpat(typval_T *argvars, typval_T *rettv); +void f_globpath(typval_T *argvars, typval_T *rettv); +void f_isdirectory(typval_T *argvars, typval_T *rettv); +void f_mkdir(typval_T *argvars, typval_T *rettv); +void f_readdir(typval_T *argvars, typval_T *rettv); +void f_readfile(typval_T *argvars, typval_T *rettv); +void f_resolve(typval_T *argvars, typval_T *rettv); +void f_tempname(typval_T *argvars, typval_T *rettv); +void f_writefile(typval_T *argvars, typval_T *rettv); +char_u *do_browse(int flags, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter, buf_T *buf); +void f_browse(typval_T *argvars, typval_T *rettv); +void f_browsedir(typval_T *argvars, typval_T *rettv); +/* vim: set ft=c : */