Mercurial > vim
comparison src/proto/filepath.pro @ 17978:8f4cc259ed7a v8.1.1985
patch 8.1.1985: code for dealing with paths is spread out
Commit: https://github.com/vim/vim/commit/26262f87770d3a1a68b09a70152d75c2e2ae186f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 4 20:59:15 2019 +0200
patch 8.1.1985: code for dealing with paths is spread out
Problem: Code for dealing with paths is spread out.
Solution: Move path related functions from misc1.c to filepath.c.
Remove NO_EXPANDPATH.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Sep 2019 21:00:04 +0200 |
parents | 46f95606b9ec |
children | 5c8906f653f5 |
comparison
equal
deleted
inserted
replaced
17977:7fa0c4b6bfa5 | 17978:8f4cc259ed7a |
---|---|
26 void f_tempname(typval_T *argvars, typval_T *rettv); | 26 void f_tempname(typval_T *argvars, typval_T *rettv); |
27 void f_writefile(typval_T *argvars, typval_T *rettv); | 27 void f_writefile(typval_T *argvars, typval_T *rettv); |
28 char_u *do_browse(int flags, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter, buf_T *buf); | 28 char_u *do_browse(int flags, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter, buf_T *buf); |
29 void f_browse(typval_T *argvars, typval_T *rettv); | 29 void f_browse(typval_T *argvars, typval_T *rettv); |
30 void f_browsedir(typval_T *argvars, typval_T *rettv); | 30 void f_browsedir(typval_T *argvars, typval_T *rettv); |
31 void home_replace(buf_T *buf, char_u *src, char_u *dst, int dstlen, int one); | |
32 char_u *home_replace_save(buf_T *buf, char_u *src); | |
33 int fullpathcmp(char_u *s1, char_u *s2, int checkname, int expandenv); | |
34 char_u *gettail(char_u *fname); | |
35 char_u *gettail_sep(char_u *fname); | |
36 char_u *getnextcomp(char_u *fname); | |
37 char_u *get_past_head(char_u *path); | |
38 int vim_ispathsep(int c); | |
39 int vim_ispathsep_nocolon(int c); | |
40 void shorten_dir(char_u *str); | |
41 int dir_of_file_exists(char_u *fname); | |
42 int vim_fnamecmp(char_u *x, char_u *y); | |
43 int vim_fnamencmp(char_u *x, char_u *y, size_t len); | |
44 char_u *concat_fnames(char_u *fname1, char_u *fname2, int sep); | |
45 void add_pathsep(char_u *p); | |
46 char_u *FullName_save(char_u *fname, int force); | |
47 int vim_fexists(char_u *fname); | |
48 int expand_wildcards_eval(char_u **pat, int *num_file, char_u ***file, int flags); | |
49 int expand_wildcards(int num_pat, char_u **pat, int *num_files, char_u ***files, int flags); | |
50 int match_suffix(char_u *fname); | |
51 int unix_expandpath(garray_T *gap, char_u *path, int wildoff, int flags, int didstar); | |
52 int gen_expand_wildcards(int num_pat, char_u **pat, int *num_file, char_u ***file, int flags); | |
53 void addfile(garray_T *gap, char_u *f, int flags); | |
54 void FreeWild(int count, char_u **files); | |
55 int pathcmp(const char *p, const char *q, int maxlen); | |
56 int vim_isAbsName(char_u *name); | |
57 int vim_FullName(char_u *fname, char_u *buf, int len, int force); | |
31 /* vim: set ft=c : */ | 58 /* vim: set ft=c : */ |