mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
Refactor fullpathcmp -> path_full_compare.
This commit is contained in:

committed by
Thiago de Arruda

parent
81237af70e
commit
6d712defa5
@@ -1,7 +1,7 @@
|
||||
#ifndef NEOVIM_PATH_H
|
||||
#define NEOVIM_PATH_H
|
||||
|
||||
/// Return value for the comparison of two files. Also @see fullpathcmp.
|
||||
/// Return value for the comparison of two files. Also @see path_full_compare.
|
||||
typedef enum file_comparison {
|
||||
FPC_SAME = 1, ///< Both exist and are the same file.
|
||||
FPC_DIFF = 2, ///< Both exist and are different files.
|
||||
@@ -17,7 +17,7 @@ typedef enum file_comparison {
|
||||
/// @param s2 Second file name.
|
||||
/// @param checkname When both files don't exist, only compare their names.
|
||||
/// @return Enum of type FileComparison. @see FileComparison.
|
||||
FileComparison fullpathcmp(char_u *s1, char_u *s2, int checkname);
|
||||
FileComparison path_full_compare(char_u *s1, char_u *s2, int checkname);
|
||||
|
||||
int vim_ispathsep(int c);
|
||||
int vim_ispathsep_nocolon(int c);
|
||||
|
Reference in New Issue
Block a user