commit | 2eaceb894521b99c8221bcfe7532c0f413c4b58b | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubervac@fit.cvut.cz> | Mon Oct 08 19:56:30 2018 +0200 |
committer | Václav Kubernát <kubervac@fit.cvut.cz> | Mon Oct 29 13:27:03 2018 +0100 |
tree | b87d29c4c96b876d3381377a248636743d55a987 | |
parent | 6d79143c261c7c4392b71b35cbe9d5749d82ff1f [diff] |
Split path_ into schemaPath_ and dataPath_ This change is necessary because different commands accept different kinds of paths (for example "cd" only accepts a data path, on the other hand "ls" doesn't care about data, so it accepts both). One option was to create a new path struct for every command, but that could get quickly out of control as new commands get added. The other option was define only the data path and schema path and then change the commands' grammars, so that they only accept the relevant paths, but in the end always return a data path or a schema path. Change-Id: I7668a446fbf674c7a5deae22d9aacdfb3da9b07e
Copyright © Faculty of Information Technology, Czech Technical University in Prague, https://fit.cvut.cz/ . Copyright © CESNET, https://www.cesnet.cz/ . Most of the code was written by Václav Kubernát (FIT ČVUT) and Jan Kundrát (CESNET). The project is distributed under the terms of the Apache 2.0 license.