From dc5d469d6574e9fb03bdd793658bb371315b306a Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Mon, 12 Oct 2015 08:54:49 +0000 Subject: Vendor import of subversion-1.9.2 --- subversion/libsvn_wc/token-map.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'subversion/libsvn_wc/token-map.h') diff --git a/subversion/libsvn_wc/token-map.h b/subversion/libsvn_wc/token-map.h index 9da12b8aaafc..9bf80d6acbce 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[] = { -- cgit v1.2.3