blob: 3af3ff02be4c5f27b073c6d8b501f1c534837971 [file] [log] [blame]
Václav Kubernát24df80e2018-06-06 15:18:03 +02001/*
2 * Copyright (C) 2018 CESNET, https://photonics.cesnet.cz/
3 * Copyright (C) 2018 FIT CVUT, https://fit.cvut.cz/
4 *
5 * Written by Václav Kubernát <kubervac@fit.cvut.cz>
6 *
7*/
8#include "ast_commands.hpp"
9
Václav Kubernát24df80e2018-06-06 15:18:03 +020010bool set_::operator==(const set_& b) const
11{
12 return this->m_path == b.m_path && this->m_data == b.m_data;
13}
14
15bool cd_::operator==(const cd_& b) const
16{
17 return this->m_path == b.m_path;
18}
19
Václav Kubernát11afac72018-07-18 14:59:53 +020020bool ls_::operator==(const ls_& b) const
21{
Václav Kubernáte7d4aea2018-09-11 18:15:48 +020022 return this->m_path == b.m_path && this->m_options == b.m_options;
Václav Kubernát11afac72018-07-18 14:59:53 +020023}
24
Václav Kubernát24df80e2018-06-06 15:18:03 +020025bool create_::operator==(const create_& b) const
26{
27 return this->m_path == b.m_path;
28}
29
30bool delete_::operator==(const delete_& b) const
31{
32 return this->m_path == b.m_path;
33}