Macros | Typedefs | Enumerations
path.h File Reference
#include "nvim/func_attr.h"
#include "nvim/types.h"
#include "nvim/garray.h"

Go to the source code of this file.

Macros

#define EW_DIR   0x01 /* include directory names */
 
#define EW_FILE   0x02 /* include file names */
 
#define EW_NOTFOUND   0x04 /* include not found names */
 
#define EW_ADDSLASH   0x08 /* append slash to directory name */
 
#define EW_KEEPALL   0x10 /* keep all matches */
 
#define EW_SILENT   0x20 /* don't print "1 returned" from shell */
 
#define EW_EXEC   0x40 /* executable files */
 
#define EW_PATH   0x80 /* search in 'path' too */
 
#define EW_ICASE   0x100 /* ignore case */
 
#define EW_NOERROR   0x200 /* no error for bad regexp */
 
#define EW_NOTWILD   0x400 /* add match with literal name if exists */
 
#define EW_KEEPDOLLAR   0x800 /* do not escape $, $var is expanded */
 
#define EW_ALLLINKS   0x1000
 
#define EW_SHELLCMD   0x2000
 
#define EW_DODOT   0x4000
 
#define EW_EMPTYOK   0x8000
 

Typedefs

typedef enum file_comparison FileComparison
 Return value for the comparison of two files. Also. More...
 

Enumerations

enum  file_comparison {
  kEqualFiles = 1, kDifferentFiles = 2, kBothFilesMissing = 4, kOneFileMissing = 6,
  kEqualFileNames = 7
}
 Return value for the comparison of two files. Also. More...
 

Macro Definition Documentation

#define EW_ADDSLASH   0x08 /* append slash to directory name */
#define EW_ALLLINKS   0x1000
#define EW_DIR   0x01 /* include directory names */
#define EW_DODOT   0x4000
#define EW_EMPTYOK   0x8000
#define EW_EXEC   0x40 /* executable files */
#define EW_FILE   0x02 /* include file names */
#define EW_ICASE   0x100 /* ignore case */
#define EW_KEEPALL   0x10 /* keep all matches */
#define EW_KEEPDOLLAR   0x800 /* do not escape $, $var is expanded */
#define EW_NOERROR   0x200 /* no error for bad regexp */
#define EW_NOTFOUND   0x04 /* include not found names */
#define EW_NOTWILD   0x400 /* add match with literal name if exists */
#define EW_PATH   0x80 /* search in 'path' too */
#define EW_SHELLCMD   0x2000
#define EW_SILENT   0x20 /* don't print "1 returned" from shell */

Typedef Documentation

Return value for the comparison of two files. Also.

See also
path_full_compare.

Enumeration Type Documentation

Return value for the comparison of two files. Also.

See also
path_full_compare.
Enumerator
kEqualFiles 

Both exist and are the same file.

kDifferentFiles 

Both exist and are different files.

kBothFilesMissing 

Both don't exist.

kOneFileMissing 

One of them doesn't exist.

kEqualFileNames 

Both don't exist and file names are same.