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

#pragma once

#include 
#include 

#include 

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

class annotated_commit_wrapper : public wrapper_base
{
public:

    using base_type = wrapper_base;

    ~annotated_commit_wrapper();

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

    const git_oid& oid() const;
    std::string commit_oid_tostr() const;
    std::string_view reference_name() const;

private:

    annotated_commit_wrapper(git_annotated_commit* commit);

    friend class repository_wrapper;
};

using annotated_commit_list_wrapper = list_wrapper;

Web Proxy Viewer  |  New URL  |  Original Page