/usr/include/libgit2-glib-1.0/libgit2-glib/ggit-index-entry.h is in libgit2-glib-1.0-dev 0.24.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | /*
* ggit-index-entry.h
* This file is part of libgit2-glib
*
* Copyright (C) 2012 - Jesse van den Kieboom
*
* libgit2-glib is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* libgit2-glib is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with libgit2-glib. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GGIT_INDEX_ENTRY_H__
#define __GGIT_INDEX_ENTRY_H__
#include <glib-object.h>
#include <gio/gio.h>
#include <libgit2-glib/ggit-oid.h>
#include <libgit2-glib/ggit-types.h>
#include <libgit2-glib/ggit-commit.h>
#include <libgit2-glib/ggit-index.h>
#include <git2.h>
G_BEGIN_DECLS
#define GGIT_TYPE_INDEX_ENTRY (ggit_index_entry_get_type ())
#define GGIT_INDEX_ENTRY(obj) ((GgitIndexEntry *)obj)
#define GGIT_TYPE_INDEX_ENTRIES (ggit_index_entries_get_type ())
#define GGIT_INDEX_ENTRIES(obj) ((GgitIndexEntries *)obj)
GType ggit_index_entries_get_type (void) G_GNUC_CONST;
GgitIndexEntries *_ggit_index_entries_wrap (GgitIndex *owner);
GgitIndexEntries *ggit_index_entries_ref (GgitIndexEntries *entries);
void ggit_index_entries_unref (GgitIndexEntries *entries);
GgitIndexEntry *ggit_index_entries_get_by_index (GgitIndexEntries *entries,
gsize idx);
GgitIndexEntry *ggit_index_entries_get_by_path (GgitIndexEntries *entries,
GFile *file,
gint stage);
guint ggit_index_entries_size (GgitIndexEntries *entries);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GgitIndexEntries, ggit_index_entries_unref)
GType ggit_index_entry_get_type (void) G_GNUC_CONST;
GgitIndexEntry *ggit_index_entry_ref (GgitIndexEntry *entry);
void ggit_index_entry_unref (GgitIndexEntry *entry);
guint ggit_index_entry_get_dev (GgitIndexEntry *entry);
void ggit_index_entry_set_dev (GgitIndexEntry *entry,
guint dev);
guint ggit_index_entry_get_ino (GgitIndexEntry *entry);
void ggit_index_entry_set_ino (GgitIndexEntry *entry,
guint ino);
guint ggit_index_entry_get_mode (GgitIndexEntry *entry);
void ggit_index_entry_set_mode (GgitIndexEntry *entry,
guint mode);
guint ggit_index_entry_get_uid (GgitIndexEntry *entry);
void ggit_index_entry_set_uid (GgitIndexEntry *entry,
guint uid);
guint ggit_index_entry_get_gid (GgitIndexEntry *entry);
void ggit_index_entry_set_gid (GgitIndexEntry *entry,
guint gid);
goffset ggit_index_entry_get_file_size (GgitIndexEntry *entry);
void ggit_index_entry_set_file_size (GgitIndexEntry *entry,
goffset file_size);
GgitOId *ggit_index_entry_get_id (GgitIndexEntry *entry);
void ggit_index_entry_set_id (GgitIndexEntry *entry,
GgitOId *id);
guint ggit_index_entry_get_flags (GgitIndexEntry *entry);
void ggit_index_entry_set_flags (GgitIndexEntry *entry,
guint flags);
guint ggit_index_entry_get_flags_extended (GgitIndexEntry *entry);
void ggit_index_entry_set_flags_extended (GgitIndexEntry *entry,
guint flags_extended);
const gchar *ggit_index_entry_get_path (GgitIndexEntry *entry);
void ggit_index_entry_set_path (GgitIndexEntry *entry,
const gchar *path);
gboolean ggit_index_entry_stat (GgitIndexEntry *entry,
GFile *file,
GError **error);
void ggit_index_entry_set_commit (GgitIndexEntry *entry,
GgitCommit *commit);
gboolean ggit_index_entry_is_conflict (GgitIndexEntry *entry);
const git_index_entry
*_ggit_index_entry_get_native (GgitIndexEntry *entry);
GgitIndexEntry *_ggit_index_entry_new (const gchar *path,
GgitOId *id);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GgitIndexEntry, ggit_index_entry_unref)
G_END_DECLS
#endif /* __GGIT_INDEX_ENTRY_H__ */
/* ex:set ts=8 noet: */
|