just some refactoring thoughts

This commit is contained in:
Blue 2023-09-17 16:34:00 -03:00
parent 198677fc18
commit b92b66c101
Signed by: blue
GPG key ID: 9B203B252A63EE38
10 changed files with 159 additions and 5 deletions

View file

@ -29,6 +29,7 @@ public:
Type getType() const;
std::optional<std::string> getName() const;
std::optional<std::string> getVersion() const;
std::optional<std::filesystem::path> getLocation() const;
bool prepare(const std::filesystem::path& source, const std::filesystem::path& destination);
@ -64,4 +65,5 @@ private:
Type type;
std::optional<std::string> name;
std::optional<std::string> version;
std::filesystem::path location;
};