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

#pragma once

#include 

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

class commit_wrapper : public wrapper_base
{
public:

    using base_type = wrapper_base;

    ~commit_wrapper();

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

    operator git_object*() const noexcept;

    const git_oid& oid() const;

private:

    commit_wrapper(git_commit* commit);

    friend class repository_wrapper;
};

Web Proxy Viewer  |  New URL  |  Original Page