Apply tidy
This commit is contained in:
parent
f5bdf4c438
commit
1ef1d21839
|
@ -178,7 +178,7 @@ void InteractiveCli::processCommand(const string &cmd)
|
||||||
|
|
||||||
Entry *InteractiveCli::resolvePath(const string &path)
|
Entry *InteractiveCli::resolvePath(const string &path)
|
||||||
{
|
{
|
||||||
auto parts = splitString<vector<string> >(path, "/", EmptyPartsTreat::Merge);
|
auto parts = splitString<vector<string>>(path, "/", EmptyPartsTreat::Merge);
|
||||||
bool fromRoot = path.at(0) == '/';
|
bool fromRoot = path.at(0) == '/';
|
||||||
if (fromRoot && parts.empty()) {
|
if (fromRoot && parts.empty()) {
|
||||||
return m_file.rootEntry();
|
return m_file.rootEntry();
|
||||||
|
|
Loading…
Reference in New Issue