|
Packit Service |
20376f |
libgit2 examples
|
|
Packit Service |
20376f |
================
|
|
Packit Service |
20376f |
|
|
Packit Service |
20376f |
These examples are a mixture of basic emulation of core Git command line
|
|
Packit Service |
20376f |
functions and simple snippets demonstrating libgit2 API usage (for use
|
|
Packit Service |
20376f |
with Docurium). As a whole, they are not vetted carefully for bugs, error
|
|
Packit Service |
20376f |
handling, and cross-platform compatibility in the same manner as the rest
|
|
Packit Service |
20376f |
of the code in libgit2, so copy with caution.
|
|
Packit Service |
20376f |
|
|
Packit Service |
20376f |
That being said, you are welcome to copy code from these examples as
|
|
Packit Service |
20376f |
desired when using libgit2. They have been [released to the public domain][cc0],
|
|
Packit Service |
20376f |
so there are no restrictions on their use.
|
|
Packit Service |
20376f |
|
|
Packit Service |
20376f |
[cc0]: COPYING
|
|
Packit Service |
20376f |
|
|
Packit Service |
20376f |
For annotated HTML versions, see the "Examples" section of:
|
|
Packit Service |
20376f |
|
|
Packit Service |
20376f |
http://libgit2.github.com/libgit2
|
|
Packit Service |
20376f |
|
|
Packit Service |
20376f |
such as:
|
|
Packit Service |
20376f |
|
|
Packit Service |
20376f |
http://libgit2.github.com/libgit2/ex/HEAD/general.html
|