diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-04-19 14:48:48 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-04-19 14:48:48 +0200 |
| commit | 20f3d98d637c5992c53f19590c15fa923f4eedcd (patch) | |
| tree | 76842f0252e4179d47d5c33bd0338cbcd479fe71 /katja/repository.cpp | |
| parent | 0e6de99821d2262ada8e277fba1eb6059858ea41 (diff) | |
| download | kazbek-20f3d98d637c5992c53f19590c15fa923f4eedcd.tar.gz | |
Move katja into a separate repository
Diffstat (limited to 'katja/repository.cpp')
| -rw-r--r-- | katja/repository.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/katja/repository.cpp b/katja/repository.cpp deleted file mode 100644 index 270ffec..0000000 --- a/katja/repository.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/* - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. - */ -#include "katja/repository.hpp" - -namespace katja -{ - std::string package_identifier::to_string() const - { - std::string identifier; - const std::size_t total_size = this->name.size() + this->version.size() - + this->architecture.size() + this->data.size() + 3; - - identifier.reserve(total_size); - identifier.append(this->name); - identifier.push_back(';'); - identifier.append(this->version); - identifier.push_back(';'); - identifier.append(this->architecture); - identifier.push_back(';'); - identifier.append(this->data); - - return identifier; - } -} |
