diff options
author | peter <peter@FreeBSD.org> | 2015-10-12 08:54:49 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2015-10-12 08:54:49 +0000 |
commit | c18b5d7f26f112be58bb1c4660799dea49f219ba (patch) | |
tree | 013c2e6845398e5a9ca4901dcc077769c7520e1d /subversion/libsvn_wc/token-map.h | |
parent | 91308aec6ca93cab82659cd43b3f6a83d366350b (diff) | |
download | FreeBSD-src-c18b5d7f26f112be58bb1c4660799dea49f219ba.zip FreeBSD-src-c18b5d7f26f112be58bb1c4660799dea49f219ba.tar.gz |
Vendor import of subversion-1.9.2
Diffstat (limited to 'subversion/libsvn_wc/token-map.h')
-rw-r--r-- | subversion/libsvn_wc/token-map.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/subversion/libsvn_wc/token-map.h b/subversion/libsvn_wc/token-map.h index 9da12b8..9bf80d6 100644 --- a/subversion/libsvn_wc/token-map.h +++ b/subversion/libsvn_wc/token-map.h @@ -33,6 +33,7 @@ extern "C" { #endif +/* The kind values used on NODES */ static const svn_token_map_t kind_map[] = { { "file", svn_node_file }, /* MAP_FILE */ { "dir", svn_node_dir }, /* MAP_DIR */ @@ -41,6 +42,16 @@ static const svn_token_map_t kind_map[] = { { NULL } }; +/* Like kind_map, but also supports 'none' */ +static const svn_token_map_t kind_map_none[] = { + { "none", svn_node_none }, + { "file", svn_node_file }, + { "dir", svn_node_dir }, + { "symlink", svn_node_symlink }, + { "unknown", svn_node_unknown }, + { NULL } +}; + /* Note: we only decode presence values from the database. These are a subset of all the status values. */ static const svn_token_map_t presence_map[] = { |