You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- @param repo the repo to use when locating the blob.. Must be of type <a href="Repository.html">Repository</a>.
14
14
-- @param id identity of the blob to locate.. Must be of type <a href="OID.html">OID</a>.
15
15
-- @return <a href="Blob.html">Blob</a> or <code>nil</code> on error.
@@ -40,27 +40,27 @@ end
40
40
41
41
--- object method.
42
42
--
43
-
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/blob/git_blob_rawcontent">git_blob_rawcontent</a>:<p><p>A pointer to the raw content of a blob is returned;
43
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/blob/git_blob_rawcontent">git_blob_rawcontent</a>:<p><p>A pointer to the raw content of a blob is returned;
44
44
-- this pointer is owned internally by the object and shall
45
45
-- not be free'd. The pointer may be invalidated at a later
--- Destroy this object (will be called by Garbage Collector).
62
62
--
63
-
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/object/git_object_free">git_object_free</a>:<p><p>This method instructs the library to close an existing
63
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/object/git_object_free">git_object_free</a>:<p><p>This method instructs the library to close an existing
64
64
-- object; note that git_objects are owned and cached by the repository
65
65
-- so the object may or may not be freed after this library call,
66
66
-- depending on how agressive is the caching mechanism used
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/object/git_object_owner">git_object_owner</a>:<p><p>Freeing or calling `git_repository_close` on the
92
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/object/git_object_owner">git_object_owner</a>:<p><p>Freeing or calling `git_repository_close` on the
93
93
-- returned pointer will invalidate the actual object.<p> Any other operation may be run on the repository without
-- @param repo the repo to use when locating the commit.. Must be of type <a href="Repository.html">Repository</a>.
14
14
-- @param id identity of the commit to locate. If the object is an annotated tag it will be peeled back to the commit.. Must be of type <a href="OID.html">OID</a>.
15
15
-- @return <a href="Commit.html">Commit</a> or <code>nil</code> on error.
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/commit/git_commit_message_encoding">git_commit_message_encoding</a>:<p><p>The encoding may be NULL if the `encoding` header
48
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/commit/git_commit_message_encoding">git_commit_message_encoding</a>:<p><p>The encoding may be NULL if the `encoding` header
49
49
-- in the commit is missing; in that case UTF-8 is assumed.
-- @param n the position of the parent (from 0 to `parentcount`). Must be of type <code>integer</code>.
116
116
-- @return <a href="Commit.html">Commit</a> or <code>nil</code> on error.
117
117
-- @return Error string.
@@ -121,7 +121,7 @@ end
121
121
122
122
--- Destroy this object (will be called by Garbage Collector).
123
123
--
124
-
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/object/git_object_free">git_object_free</a>:<p><p>This method instructs the library to close an existing
124
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/object/git_object_free">git_object_free</a>:<p><p>This method instructs the library to close an existing
125
125
-- object; note that git_objects are owned and cached by the repository
126
126
-- so the object may or may not be freed after this library call,
127
127
-- depending on how agressive is the caching mechanism used
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/object/git_object_owner">git_object_owner</a>:<p><p>Freeing or calling `git_repository_close` on the
153
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/object/git_object_owner">git_object_owner</a>:<p><p>Freeing or calling `git_repository_close` on the
154
154
-- returned pointer will invalidate the actual object.<p> Any other operation may be run on the repository without
Copy file name to clipboardExpand all lines: docs/git2/Config.luadoc
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ module("Config")
8
8
9
9
--- Create a new Config object.
10
10
--
11
-
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/config/git_config_new">git_config_new</a>:<p><p>This object is empty, so you have to add a file to it before you
11
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/config/git_config_new">git_config_new</a>:<p><p>This object is empty, so you have to add a file to it before you
12
12
-- can do anything with it.
13
13
-- @return <a href="Config.html">Config</a> or <code>nil</code> on error.
14
14
-- @return Error string.
@@ -18,7 +18,7 @@ end
18
18
19
19
--- Create a new Config object.
20
20
--
21
-
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/config/git_config_open_ondisk">git_config_open_ondisk</a>:<p><p>This method is a simple utility wrapper for the following sequence
21
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/config/git_config_open_ondisk">git_config_open_ondisk</a>:<p><p>This method is a simple utility wrapper for the following sequence
22
22
-- of calls:
23
23
-- - git_config_new
24
24
-- - git_config_add_file_ondisk
@@ -31,14 +31,14 @@ end
31
31
32
32
--- Destroy this object (will be called by Garbage Collector).
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/config/git_config_add_file_ondisk">git_config_add_file_ondisk</a>:<p><p>The on-disk file pointed at by `path` will be opened and
41
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/config/git_config_add_file_ondisk">git_config_add_file_ondisk</a>:<p><p>The on-disk file pointed at by `path` will be opened and
42
42
-- parsed; it's expected to be a native Git config file following
43
43
-- the default Git config syntax (see man git-config).<p> Note that the configuration object will free the file
44
44
-- automatically.<p> Further queries on this config object will access each
@@ -94,7 +94,7 @@ end
94
94
95
95
--- object method.
96
96
--
97
-
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/config/git_config_get_bool">git_config_get_bool</a>:<p><p>This function uses the usual C convention of 0 being false and
97
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/config/git_config_get_bool">git_config_get_bool</a>:<p><p>This function uses the usual C convention of 0 being false and
98
98
-- anything else true.
99
99
-- @param name the variable's name. Must be of type <code>string</code>.
100
100
-- @return <code>boolean</code> or <code>nil</code> on error.
-- @param value the value to store. Must be of type <code>boolean</code>.
110
110
-- @param name the variable's name. Must be of type <code>string</code>.
111
111
-- @return <code>true</code> if no error.
@@ -116,7 +116,7 @@ end
116
116
117
117
--- object method.
118
118
--
119
-
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/config/git_config_get_string">git_config_get_string</a>:<p><p>The string is owned by the variable and should not be freed by the
119
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/config/git_config_get_string">git_config_get_string</a>:<p><p>The string is owned by the variable and should not be freed by the
120
120
-- user.
121
121
-- @param name the variable's name. Must be of type <code>string</code>.
122
122
-- @return <code>string</code> or <code>nil</code> on error.
@@ -127,7 +127,7 @@ end
127
127
128
128
--- object method.
129
129
--
130
-
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/config/git_config_set_string">git_config_set_string</a>:<p><p>A copy of the string is made and the user is free to use it
130
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/config/git_config_set_string">git_config_set_string</a>:<p><p>A copy of the string is made and the user is free to use it
131
131
-- afterwards.
132
132
-- @param name the variable's name. Must be of type <code>string</code>.
133
133
-- @param value the string to store.. Must be of type <code>string</code>.
Copy file name to clipboardExpand all lines: docs/git2/Index.luadoc
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ module("Index")
8
8
9
9
--- Create a new Index object.
10
10
--
11
-
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/index/git_index_open">git_index_open</a>:<p><p>Since there is no ODB or working directory behind this index,
11
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/index/git_index_open">git_index_open</a>:<p><p>Since there is no ODB or working directory behind this index,
12
12
-- any Index methods which rely on these (e.g. index_add) will
13
13
-- fail with the GIT_EBAREINDEX error code.<p> If you need to access the index of an actual repository,
14
14
-- use the `git_repository_index` wrapper.<p> The index must be freed once it's no longer in use.
-- @param at_pos Must be of type <code>lightuserdata</code>.
52
52
-- @param path path to search. Must be of type <code>string</code>.
53
53
-- @return <code>integer</code>.
@@ -66,7 +66,7 @@ end
66
66
67
67
--- object method.
68
68
--
69
-
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/index/git_index_add">git_index_add</a>:<p><p>The file `path` must be relative to the repository's
69
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/index/git_index_add">git_index_add</a>:<p><p>The file `path` must be relative to the repository's
70
70
-- working folder and must be readable.<p> This method will fail in bare index instances.<p> This forces the file to be added to the index, not looking
71
71
-- at gitignore rules. Those rules can be evaluated through
72
72
-- the git_status APIs (in status.h) before calling this.
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/index/git_index_read_tree">git_index_read_tree</a>:<p><p>The current index contents will be replaced by the specified tree.
141
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/index/git_index_read_tree">git_index_read_tree</a>:<p><p>The current index contents will be replaced by the specified tree.
142
142
-- @param tree tree to read. Must be of type <a href="Tree.html">Tree</a>.
Copy file name to clipboardExpand all lines: docs/git2/IndexEntry.luadoc
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ end
15
15
16
16
--- object method.
17
17
--
18
-
-- <p>Calls <a href="http://libgit2.github.com/libgit2/#HEAD/group/index/git_index_entry_stage">git_index_entry_stage</a>:<p><p>This entry is calculated from the entrie's flag
18
+
-- <p>Calls <a href="http://libgit2.github.io/libgit2/#HEAD/group/index/git_index_entry_stage">git_index_entry_stage</a>:<p><p>This entry is calculated from the entrie's flag
19
19
-- attribute like this:<p> (entry->flags & GIT_IDXENTRY_STAGEMASK) >> GIT_IDXENTRY_STAGESHIFT<p> @returns the stage number
0 commit comments