Bugfix: use the command parser to properly extract workspace names
fixes #1377
This commit is contained in:
@ -44,6 +44,14 @@ struct CommandResult {
|
||||
bool needs_tree_render;
|
||||
};
|
||||
|
||||
/**
|
||||
* Parses a string (or word, if as_word is true). Extracted out of
|
||||
* parse_command so that it can be used in src/workspace.c for interpreting
|
||||
* workspace commands.
|
||||
*
|
||||
*/
|
||||
char *parse_string(const char **walk, bool as_word);
|
||||
|
||||
/**
|
||||
* Parses and executes the given command. If a caller-allocated yajl_gen is
|
||||
* passed, a json reply will be generated in the format specified by the ipc
|
||||
|
Reference in New Issue
Block a user