Drop the AGPL license in favor of a source-available license. See the blog post [1] for details. [1] https://www.scylladb.com/2024/12/18/why-were-moving-to-a-source-available-license/
25 lines
540 B
C++
25 lines
540 B
C++
/*
|
|
* Copyright (C) 2015-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include "build_mode.hh"
|
|
|
|
std::string scylla_version();
|
|
|
|
std::string scylla_build_mode();
|
|
|
|
// Generate the documentation link, which is appropriate for the current version
|
|
// and product (open-source or enterprise).
|
|
//
|
|
// Will return a documentation URL like this:
|
|
// https://${product}.docs.scylladb.com/${branch}/${url_tail}
|
|
//
|
|
std::string doc_link(std::string_view url_tail);
|