-
Notifications
You must be signed in to change notification settings - Fork 0
/
repository.h
42 lines (29 loc) · 954 Bytes
/
repository.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//
// repository.h
// php-libgit2
//
// Created by Johannes Hahn on 06.06.15.
// Copyright (c) 2015 Johannes Hahn. All rights reserved.
//
#ifndef __php_libgit2__repository__
#define __php_libgit2__repository__
#include "common.h"
namespace PhpLibgit2
{
class Repository : public Php::Base
{
private:
const char *_path;
int _is_bare;
public:
Repository();
virtual ~Repository();
Php::Value getIsBare() const;
Php::Value getPath() const;
Php::Value php_git_repository_init(Php::Parameters ¶ms);
Php::Value php_git_repository_open(Php::Parameters ¶ms);
Php::Value php_git_repository_open_bare(Php::Parameters ¶ms);
Php::Value php_git_repository_is_bare();
};
}
#endif /* defined(__php_libgit2__repository__) */