[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/QuantStack/git2cpp/main/src/wrapper/config_wrapper.hpp [Back]  [Original]

#pragma once

#include 

#include 

#include "../wrapper/wrapper_base.hpp"

class config_wrapper : public wrapper_base
{
public:

    using base_type = wrapper_base;

    ~config_wrapper();

    config_wrapper(config_wrapper&&) noexcept = default;
    config_wrapper& operator=(config_wrapper&&) noexcept = default;

    git_config_entry* get_entry(std::string name);
    void set_entry(std::string name, std::string value);
    void delete_entry(std::string name);

private:

    config_wrapper(git_config* cfg);

    friend class repository_wrapper;
};

Web Proxy Viewer  |  New URL  |  Original Page