Jetpack documentation 1.0.0
Loading...
Searching...
No Matches
Cwd.hpp
Go to the documentation of this file.
1/*
2** EPITECH PROJECT, 2025
3** jetpack
4** File description:
5** The Cwd.hpp
6*/
13#ifndef CWD_HPP_
14 #define CWD_HPP_
15
16 #include "utils/Exception.hpp"
17 #include "utils/Logs.hpp"
18
19namespace Jetpack {
24 class Cwd
25 {
26 public:
32 Cwd();
36 ~Cwd();
37
38
39
44 std::string getPwd() const;
45
46 private:
47 std::string _pwd; /* Current working directory */
48 };
49}
50
51#endif /* CWD_HPP_ */
The Exception.hpp.
The Logs.hpp.
An encapsulation of the current working directory (CWD)
Definition Cwd.hpp:25
Cwd()
Constructor for Cwd class.
Definition Cwd.cpp:21
~Cwd()
Deleted copy constructor.
Definition Cwd.cpp:36
std::string getPwd() const
Gets the current working directory.
Definition Cwd.cpp:45