This is the cl-git Reference Manual, version 2.1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 04:02:32 2024 GMT+0.
cl-git/cl-git.asd
cl-git/package.lisp
cl-git/git-pointer.lisp
cl-git/libgit2.lisp
cl-git/libgit2-lib.lisp
cl-git/libgit2-types.lisp
cl-git/libgit2-features.lisp
cl-git/libgit2-types-grovel0.lisp
cl-git/libgit2-types-grovel1.lisp
cl-git/api.lisp
cl-git/buffer.lisp
cl-git/error.lisp
cl-git/strarray.lisp
cl-git/proxy.lisp
cl-git/message.lisp
cl-git/oid.lisp
cl-git/object.lisp
cl-git/signature.lisp
cl-git/index.lisp
cl-git/repository.lisp
cl-git/references.lisp
cl-git/reflog.lisp
cl-git/branch.lisp
cl-git/commit.lisp
cl-git/graph.lisp
cl-git/tag.lisp
cl-git/diff.lisp
cl-git/blob.lisp
cl-git/tree.lisp
cl-git/config.lisp
cl-git/status.lisp
cl-git/revwalk.lisp
cl-git/remote.lisp
cl-git/odb.lisp
cl-git/checkout.lisp
cl-git/clone.lisp
cl-git/credentials.lisp
The main system appears first, followed by any subsystem dependency.
cl-git
A CFFI wrapper of libgit2.
Russell Sim <russell.sim@gmail.com>
LGPL-3.0-or-later
2.1.0
asdf
(system).
cffi-grovel
(system).
cffi
(system).
local-time
(system).
cl-fad
(system).
flexi-streams
(system).
trivial-garbage
(system).
anaphora
(system).
alexandria
(system).
closer-mop
(system).
uiop
(system).
package.lisp
(file).
git-pointer.lisp
(file).
libgit2.lisp
(file).
libgit2-lib.lisp
(file).
libgit2-types.lisp
(file).
libgit2-features.lisp
(file).
libgit2-types-grovel0.lisp
(file).
libgit2-types-grovel1.lisp
(file).
api.lisp
(file).
buffer.lisp
(file).
error.lisp
(file).
strarray.lisp
(file).
proxy.lisp
(file).
message.lisp
(file).
oid.lisp
(file).
object.lisp
(file).
signature.lisp
(file).
index.lisp
(file).
repository.lisp
(file).
references.lisp
(file).
reflog.lisp
(file).
branch.lisp
(file).
commit.lisp
(file).
graph.lisp
(file).
tag.lisp
(file).
diff.lisp
(file).
blob.lisp
(file).
tree.lisp
(file).
config.lisp
(file).
status.lisp
(file).
revwalk.lisp
(file).
remote.lisp
(file).
odb.lisp
(file).
checkout.lisp
(file).
clone.lisp
(file).
credentials.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-git/cl-git.asd
cl-git/package.lisp
cl-git/git-pointer.lisp
cl-git/libgit2.lisp
cl-git/libgit2-lib.lisp
cl-git/libgit2-types.lisp
cl-git/libgit2-features.lisp
cl-git/libgit2-types-grovel0.lisp
cl-git/libgit2-types-grovel1.lisp
cl-git/api.lisp
cl-git/buffer.lisp
cl-git/error.lisp
cl-git/strarray.lisp
cl-git/proxy.lisp
cl-git/message.lisp
cl-git/oid.lisp
cl-git/object.lisp
cl-git/signature.lisp
cl-git/index.lisp
cl-git/repository.lisp
cl-git/references.lisp
cl-git/reflog.lisp
cl-git/branch.lisp
cl-git/commit.lisp
cl-git/graph.lisp
cl-git/tag.lisp
cl-git/diff.lisp
cl-git/blob.lisp
cl-git/tree.lisp
cl-git/config.lisp
cl-git/status.lisp
cl-git/revwalk.lisp
cl-git/remote.lisp
cl-git/odb.lisp
cl-git/checkout.lisp
cl-git/clone.lisp
cl-git/credentials.lisp
cl-git/git-pointer.lisp
package.lisp
(file).
cl-git
(system).
free
(method).
translate-to-foreign
(method).
dispose
(generic function).
enable-garbage-collection
(generic function).
facilitator
(reader method).
(setf facilitator)
(writer method).
finalizer-data
(reader method).
(setf finalizer-data)
(writer method).
free-function
(reader method).
(setf free-function)
(writer method).
git-pointer
(class).
internal-dispose
(function).
mapc-weak
(function).
null-or-nullpointer
(function).
pointer
(reader method).
(setf pointer)
(writer method).
cl-git/libgit2.lisp
package.lisp
(file).
libgit2-lib.lisp
(file).
libgit2-types.lisp
(file).
libgit2-types-grovel1.lisp
(file).
cl-git
(system).
libgit2-init
(function).
libgit2-shutdown
(function).
cl-git/libgit2-lib.lisp
package.lisp
(file).
cl-git
(system).
libgit2-features
(function).
libgit2-version
(function).
%git-version
(function).
cl-git/libgit2-types.lisp
package.lisp
(file).
git-pointer.lisp
(file).
libgit2-features.lisp
(file).
libgit2-types-grovel0.lisp
(file).
cl-git
(system).
+success+
(special variable).
enum-to-bitmask
(macro).
git-object
(class).
index-entry-type
(class).
index-time-struct-type
(class).
time-t
(class).
cl-git/libgit2-features.lisp
package.lisp
(file).
libgit2-lib.lisp
(file).
cl-git
(system).
cl-git/libgit2-types-grovel0.lisp
package.lisp
(file).
libgit2-features.lisp
(file).
libgit2-lib.lisp
(file).
cl-git
(system).
cl-git/libgit2-types-grovel1.lisp
package.lisp
(file).
libgit2-features.lisp
(file).
libgit2-types.lisp
(file).
libgit2-types-grovel0.lisp
(file).
cl-git
(system).
cl-git/api.lisp
package.lisp
(file).
cl-git
(system).
author
(generic function).
committer
(generic function).
entries
(generic function).
entry-by-index
(generic function).
entry-count
(generic function).
filename
(reader method).
free
(generic function).
full-name
(generic function).
get-object
(generic function).
git-config
(generic function).
git-values
(generic function).
init-repository
(generic function).
list-objects
(generic function).
make-object
(generic function).
message
(generic function).
oid
(generic function).
open-index
(generic function).
open-odb
(generic function).
open-repository
(generic function).
repository-path
(generic function).
repository-workdir
(generic function).
resolve
(generic function).
short-name
(generic function).
target
(generic function).
(setf target)
(generic function).
%git-lookup-by-name
(generic function).
*diff-context-lines*
(special variable).
*diff-interhunk-lines*
(special variable).
*diff-max-size*
(special variable).
*diff-new-prefix*
(special variable).
*diff-old-prefix*
(special variable).
*oid-abbrev*
(special variable).
entry-by-path
(generic function).
parent-count
(generic function).
pathname-mixin
(class).
cl-git/buffer.lisp
libgit2.lisp
(file).
cl-git
(system).
%git-buf-free
(function).
buffer
(class).
cl-git/error.lisp
libgit2.lisp
(file).
cl-git
(system).
ambiguous-error
(condition).
applied-error
(condition).
apply-fail-error
(condition).
auth-error
(condition).
barerepo-error
(condition).
basic-error
(condition).
buffer-error
(condition).
certificate-error
(condition).
conflict-error
(condition).
directory-error
(condition).
eof-error
(condition).
exists-error
(condition).
general-error
(condition).
index-dirty-error
(condition).
invalid-error
(condition).
invalid-spec-error
(condition).
locked-error
(condition).
merge-conflict-error
(condition).
mismatch-error
(condition).
modified-error
(condition).
non-fast-forward-error
(condition).
not-found-error
(condition).
passthrough
(condition).
peel-error
(condition).
retry
(condition).
stop-iteration
(condition).
translate-from-foreign
(method).
translate-from-foreign
(method).
unborn-branch-error
(condition).
uncommitted-error
(condition).
unknown-error
(condition).
unmerged-error
(condition).
user-error
(condition).
define-git-condition
(macro).
error-class
(reader method).
(setf error-class)
(writer method).
error-code
(reader method).
(setf error-code)
(writer method).
error-conditions
(special variable).
error-message
(reader method).
(setf error-message)
(writer method).
git-error-tclass
(class).
git-error-type
(class).
giterr-last
(function).
ok
(condition).
return-value-type
(class).
cl-git/strarray.lisp
libgit2.lisp
(file).
cl-git
(system).
%git-strarray-free
(function).
cl-git/proxy.lisp
libgit2.lisp
(file).
cl-git
(system).
translate-to-foreign
(method).
%git-proxy-options-init
(function).
+git-proxy-options-version+
(constant).
proxy-options
(class).
cl-git/message.lisp
libgit2.lisp
(file).
commit.lisp
(file).
cl-git
(system).
message-trailers
(generic function).
%git-message-trailer-array-free
(function).
%git-message-trailers
(function).
cl-git/oid.lisp
api.lisp
(file).
libgit2.lisp
(file).
cl-git
(system).
free-translated-object
(method).
translate-from-foreign
(method).
translate-to-foreign
(method).
git-oid-tostr
(function).
lookup-oid
(function).
lookup-oids
(function).
oid-from-foreign
(function).
oid-from-string-or-number
(function).
oid-to-foreign
(function).
oid-type
(class).
cl-git/object.lisp
git-pointer.lisp
(file).
repository.lisp
(file).
oid.lisp
(file).
cl-git
(system).
full-name
(method).
get-object
(method).
initialize-instance
(method).
object-type
(generic function).
oid
(method).
print-object
(method).
short-name
(method).
translate-to-foreign
(method).
%git-object-lookup
(function).
dispose
(method).
git-object-free
(function).
git-object-id
(function).
git-object-lookup
(function).
git-object-lookup-ptr
(function).
git-object-type
(function).
make-instance-object
(function).
object-type-mapping
(special variable).
pointer
(method).
cl-git/signature.lisp
libgit2.lisp
(file).
cl-git
(system).
free-translated-object
(method).
translate-from-foreign
(method).
translate-from-foreign
(method).
translate-to-foreign
(method).
translate-to-foreign
(method).
translate-to-foreign
(method).
default-email
(function).
default-name
(function).
git-signature-type
(class).
make-timezone
(function).
timezone-offset
(generic function).
cl-git/index.lisp
git-pointer.lisp
(file).
signature.lisp
(file).
oid.lisp
(file).
cl-git
(system).
entries
(method).
entry-by-index
(method).
entry-count
(method).
index-add-file
(generic function).
index-clear
(generic function).
index-conflicts-p
(generic function).
index-reload
(generic function).
index-to-tree
(generic function).
index-write
(generic function).
open-index
(method).
open-index
(method).
translate-from-foreign
(method).
translate-to-foreign
(method).
with-index
(macro).
%git-index-add
(function).
%git-index-add-by-path
(function).
%git-index-caps
(function).
%git-index-clear
(function).
%git-index-entry-count
(function).
%git-index-entry-stage
(function).
%git-index-free
(function).
%git-index-get-by-index
(function).
%git-index-get-by-path
(function).
%git-index-has-conflicts
(function).
%git-index-new
(function).
%git-index-open
(function).
%git-index-read
(function).
%git-index-write
(function).
%git-index-write-tree
(function).
entry-by-path
(method).
new-index
(function).
cl-git/repository.lisp
git-pointer.lisp
(file).
oid.lisp
(file).
cl-git
(system).
bare-p
(generic function).
empty-p
(generic function).
git-config
(method).
head-detached-p
(generic function).
head-unborn-p
(generic function).
init-repository
(method).
init-repository
(method).
open-index
(method).
open-odb
(method).
open-repository
(method).
open-repository
(method).
repository
(class).
repository-head
(generic function).
repository-path
(method).
repository-workdir
(method).
translate-to-foreign
(method).
with-repository
(macro).
%git-repository-config
(function).
%git-repository-head
(function).
%git-repository-head-detached
(function).
%git-repository-head-unborn
(function).
%git-repository-index
(function).
%git-repository-init
(function).
%git-repository-is-bare
(function).
%git-repository-is-empty
(function).
%git-repository-odb
(function).
%git-repository-open
(function).
%git-repository-path
(function).
%git-repository-set-head
(function).
%git-repository-set-head-detached
(function).
%git-repository-workdir
(function).
git-repository-free
(function).
cl-git/references.lisp
object.lisp
(file).
cl-git
(system).
branch-p
(generic function).
full-name
(method).
get-object
(method).
git-has-log
(function).
list-objects
(method).
make-object
(method).
oid
(method).
print-object
(method).
reference
(class).
remote-p
(generic function).
resolve
(method).
short-name
(method).
symbolic-p
(generic function).
target
(method).
(setf target)
(method).
unresolved-reference-error
(condition).
%git-is-branch
(function).
%git-is-remote
(function).
%git-lookup-by-name
(method).
%git-reference-create
(function).
%git-reference-free
(function).
%git-reference-list
(function).
%git-reference-lookup
(function).
%git-reference-name
(function).
%git-reference-resolve
(function).
%git-reference-set-target
(function).
%git-reference-symbolic-create
(function).
%git-reference-symbolic-target
(function).
%git-reference-target
(function).
git-reference-type
(function).
git-resolve
(function).
make-reference-from-name
(function).
reference-dir
(special variable).
reference-heads-dir
(special variable).
reference-remotes-dir
(special variable).
reference-tags-dir
(special variable).
cl-git/reflog.lisp
git-pointer.lisp
(file).
cl-git
(system).
committer
(method).
entries
(method).
entry-by-index
(method).
entry-count
(method).
message
(method).
reflog
(generic function).
reflog
(class).
reflog-entry
(class).
%git-reflog-entry-by-index
(function).
%git-reflog-entry-commiter
(function).
%git-reflog-entry-count
(function).
%git-reflog-entry-message
(function).
%git-reflog-free
(function).
%git-reflog-read
(function).
cl-git/branch.lisp
object.lisp
(file).
cl-git
(system).
head-p
(generic function).
make-object
(method).
upstream
(generic function).
%git-branch-create
(function).
%git-branch-is-head
(function).
%git-branch-lookup
(function).
%git-branch-remote-name
(function).
%git-branch-upstream
(function).
%git-branch-upstream-name
(function).
*branch-values*
(special variable).
remote-name
(generic function).
cl-git/commit.lisp
object.lisp
(file).
tree.lisp
(file).
signature.lisp
(file).
cl-git
(system).
author
(method).
bind-git-commits
(macro).
commit
(class).
commit-tree
(generic function).
committer
(method).
get-object
(method).
get-object
(method).
make-commit
(function).
message
(method).
message-encoding
(generic function).
parents
(generic function).
%git-commit-create
(function).
%git-commit-message-encoding
(function).
%git-commit-tree
(function).
commit-oid-from-oid
(function).
git-commit-author
(function).
git-commit-committer
(function).
git-commit-from-oid
(function).
git-commit-message
(function).
git-commit-parent-oid
(function).
git-commit-parentcount
(function).
make-commit-from-oid
(function).
parent-count
(method).
cl-git/graph.lisp
oid.lisp
(file).
repository.lisp
(file).
cl-git
(system).
reachable-from
(generic function).
%git-graph-reachable-from-any
(function).
cl-git/tag.lisp
object.lisp
(file).
cl-git
(system).
full-name
(method).
get-object
(method).
list-objects
(method).
make-object
(method).
make-tag
(function).
message
(method).
resolve
(method).
short-name
(method).
tag
(class).
tag-p
(generic function).
tagger
(generic function).
target
(method).
%git-tag-create
(function).
%git-tag-create-lightweight
(function).
%git-tag-foreach
(function).
%git-tag-list
(function).
%git-tag-peel
(function).
%git-tag-target
(function).
*tag-values*
(special variable).
git-tag-message
(function).
git-tag-name
(function).
git-tag-tagger
(function).
make-lightweight-tag
(function).
cl-git/diff.lisp
libgit2-types.lisp
(file).
git-pointer.lisp
(file).
tree.lisp
(file).
buffer.lisp
(file).
cl-git
(system).
diff
(generic function).
diff-deltas-count
(generic function).
diff-deltas-summary
(generic function).
free-translated-object
(method).
make-patch
(generic function).
patch-to-string
(generic function).
translate-from-foreign
(method).
translate-from-foreign
(method).
translate-into-foreign-memory
(method).
translate-to-foreign
(method).
%git-diff-foreach
(function).
%git-diff-free
(function).
%git-diff-get-delta
(function).
%git-diff-index-to-workdir
(function).
%git-diff-num-deltas
(function).
%git-diff-options-init
(function).
%git-diff-tree-to-index
(function).
%git-diff-tree-to-tree
(function).
%git-patch-free
(function).
%git-patch-from-diff
(function).
%git-patch-get-delta
(function).
%git-patch-to-buf
(function).
*git-diff-deltas*
(special variable).
+git-diff-options-version+
(constant).
diff-context-lines
(reader method).
(setf diff-context-lines)
(writer method).
diff-delta-type
(class).
diff-flags
(reader method).
(setf diff-flags)
(writer method).
diff-ignore-submodules
(reader method).
(setf diff-ignore-submodules)
(writer method).
diff-interhunk-lines
(reader method).
(setf diff-interhunk-lines)
(writer method).
diff-list
(class).
diff-max-size
(reader method).
(setf diff-max-size)
(writer method).
diff-new-prefix
(reader method).
(setf diff-new-prefix)
(writer method).
diff-notify-cb
(reader method).
(setf diff-notify-cb)
(writer method).
diff-oid-abbrev
(reader method).
(setf diff-oid-abbrev)
(writer method).
diff-old-prefix
(reader method).
(setf diff-old-prefix)
(writer method).
diff-options
(class).
diff-pathspec
(reader method).
(setf diff-pathspec)
(writer method).
diff-payload
(reader method).
(setf diff-payload)
(writer method).
diff-progress-cb
(reader method).
(setf diff-progress-cb)
(writer method).
diff-version
(reader method).
make-patch1
(generic function).
patch
(class).
cl-git/blob.lisp
object.lisp
(file).
cl-git
(system).
binary-p
(generic function).
blob
(class).
blob-content
(generic function).
blob-size
(generic function).
get-object
(method).
%git-blob-is-binary
(function).
%git-blob-raw-content
(function).
%git-blob-raw-size
(function).
cl-git/tree.lisp
object.lisp
(file).
blob.lisp
(file).
cl-git
(system).
entry-by-index
(method).
entry-count
(method).
filemode
(reader method).
filemode
(reader method).
filemode
(reader method).
filemode
(reader method).
get-object
(method).
print-object
(method).
translate-from-foreign
(method).
tree-blob
(class).
tree-directory
(generic function).
tree-tree
(class).
chomp-pathname
(function).
git-tree-entry-by-index
(function).
git-tree-entry-byname
(function).
git-tree-entry-count
(function).
git-tree-entry-filemode
(function).
git-tree-entry-id
(function).
git-tree-entry-name
(function).
git-tree-entry-type
(function).
git-tree-oid
(function).
make-tree-entry
(function).
remove-trailing-slash
(function).
split-pathname
(function).
trailing-slash-p
(function).
tree-commit
(class).
tree-entries
(function).
tree-entry
(class).
tree-link
(class).
tree-pathname-match-p
(function).
cl-git/config.lisp
git-pointer.lisp
(file).
cl-git
(system).
config
(class).
git-config
(method).
git-values
(method).
%git-config-for-each
(function).
%git-config-open-level
(function).
*config-values*
(special variable).
git-config-free
(function).
cl-git/status.lisp
git-pointer.lisp
(file).
cl-git
(system).
repository-status
(function).
%git-status-file
(function).
%git-status-for-each
(function).
*status-values*
(special variable).
cl-git/revwalk.lisp
git-pointer.lisp
(file).
cl-git
(system).
next-revision
(generic function).
revision-walk
(function).
translate-to-foreign
(method).
%git-revwalk-free
(function).
%git-revwalk-new
(function).
%git-revwalk-next
(function).
%git-revwalk-push
(function).
%git-revwalk-reset
(function).
%git-revwalk-sorting
(function).
make-revwalk
(function).
revision-walker
(class).
cl-git/remote.lisp
object.lisp
(file).
credentials.lisp
(file).
cl-git
(system).
connection-error
(condition).
free-translated-object
(method).
free-translated-object
(method).
full-name
(method).
get-object
(method).
initialize-instance
(method).
list-objects
(method).
ls-remote
(generic function).
make-object
(method).
print-object
(method).
remote
(class).
remote-connect
(generic function).
remote-connected-p
(generic function).
remote-disconnect
(generic function).
remote-download
(generic function).
remote-fetch-refspecs
(generic function).
remote-push
(generic function).
remote-push-refspecs
(generic function).
remote-push-url
(generic function).
remote-url
(generic function).
short-name
(method).
translate-from-foreign
(method).
translate-from-foreign
(method).
translate-from-foreign
(method).
translate-into-foreign-memory
(method).
translate-into-foreign-memory
(method).
translate-into-foreign-memory
(method).
translate-to-foreign
(method).
translate-to-foreign
(method).
translate-to-foreign
(method).
%git-fetch-options-init
(function).
%git-lookup-by-name
(method).
%git-push-options-init
(function).
%git-remote-connect
(function).
%git-remote-connected
(function).
%git-remote-create
(function).
%git-remote-disconnect
(function).
%git-remote-download
(function).
%git-remote-free
(function).
%git-remote-get-fetch-refspecs
(function).
%git-remote-get-push-refspecs
(function).
%git-remote-get-refspec
(function).
%git-remote-init-callbacks
(function).
%git-remote-list
(function).
%git-remote-lookup
(function).
%git-remote-ls
(function).
%git-remote-name
(function).
%git-remote-push
(function).
%git-remote-push-url
(function).
%git-remote-refspec-count
(function).
%git-remote-url
(function).
*git-remote-callbacks*
(special variable).
*remote-ls-values*
(special variable).
+git-fetch-options-version+
(constant).
+git-push-options-version+
(constant).
+git-remote-callbacks-version+
(constant).
copy-remote-callback-db
(function).
credentials
(reader method).
(setf credentials)
(writer method).
fetch-options
(class).
id
(reader method).
make-remote-callback-db
(function).
make-remote-from-name
(function).
push-custom-headers
(reader method).
push-options
(class).
push-packbuilder-parallelism
(reader method).
push-proxy-options
(reader method).
push-version
(reader method).
refspec-struct-type
(class).
refspec-type
(class).
register-remote-callback
(function).
remote-callback-db
(structure).
remote-callback-db-id->instance-map
(reader).
(setf remote-callback-db-id->instance-map)
(writer).
remote-callback-db-id-in-use-p
(function).
remote-callback-db-last-used-id
(reader).
(setf remote-callback-db-last-used-id)
(writer).
remote-callback-db-p
(function).
remote-callbacks
(reader method).
remote-callbacks
(reader method).
(setf remote-callbacks)
(writer method).
remote-callbacks
(class).
remote-callbacks-by-id
(function).
remote-head-type
(class).
cl-git/odb.lisp
object.lisp
(file).
cl-git
(system).
get-object
(method).
get-object
(method).
list-objects
(method).
list-objects
(method).
odb
(class).
odb-data
(generic function).
odb-object
(class).
odb-size
(generic function).
odb-type
(generic function).
oid
(method).
%git-odb-for-each
(function).
%git-odb-free
(function).
%git-odb-object-data
(function).
%git-odb-object-free
(function).
%git-odb-object-size
(function).
%git-odb-object-type
(function).
%git-odb-read
(function).
*oid-values*
(special variable).
git-odb-object-id
(function).
cl-git/checkout.lisp
object.lisp
(file).
cl-git
(system).
checkout
(generic function).
translate-into-foreign-memory
(method).
translate-to-foreign
(method).
%git-checkout-init-options
(function).
%git-checkout-tree
(function).
+git-checkout-options-version+
(constant).
checkout-options
(class).
cl-git/clone.lisp
checkout.lisp
(file).
credentials.lisp
(file).
remote.lisp
(file).
cl-git
(system).
clone-repository
(generic function).
initialize-instance
(method).
translate-into-foreign-memory
(method).
translate-to-foreign
(method).
%git-clone
(function).
%git-clone-init-options
(function).
+git-clone-options-version+
(constant).
clone-options
(class).
fetch-options
(reader method).
(setf fetch-options)
(writer method).
cl-git/credentials.lisp
object.lisp
(file).
cl-git
(system).
ssh-key
(class).
username-password
(class).
%git-cred-ssh-key-from-agent
(function).
%git-cred-ssh-key-new
(function).
%git-cred-userpass-plaintext-new
(function).
acquire-credentials
(generic function).
credentials
(class).
passphrase
(reader method).
(setf passphrase)
(writer method).
password
(reader method).
(setf password)
(writer method).
private-key
(reader method).
(setf private-key)
(writer method).
public-key
(reader method).
(setf public-key)
(writer method).
username
(reader method).
(setf username)
(writer method).
Packages are listed by definition order.
cl-git
git
common-lisp
.
ambiguous-error
(condition).
applied-error
(condition).
apply-fail-error
(condition).
auth-error
(condition).
author
(generic function).
bare-p
(generic function).
barerepo-error
(condition).
basic-error
(condition).
binary-p
(generic function).
bind-git-commits
(macro).
blob
(class).
blob-content
(generic function).
blob-size
(generic function).
branch-p
(generic function).
buffer-error
(condition).
certificate-error
(condition).
checkout
(generic function).
clone-repository
(generic function).
commit
(class).
commit-tree
(generic function).
committer
(generic function).
config
(class).
conflict-error
(condition).
connection-error
(condition).
diff
(generic function).
diff-deltas-count
(generic function).
diff-deltas-summary
(generic function).
directory-error
(condition).
empty-p
(generic function).
entries
(generic function).
entry-by-index
(generic function).
entry-count
(generic function).
eof-error
(condition).
exists-error
(condition).
filemode
(generic reader).
filename
(generic reader).
free
(generic function).
full-name
(generic function).
general-error
(condition).
get-object
(generic function).
git-config
(generic function).
git-has-log
(function).
git-values
(generic function).
head-detached-p
(generic function).
head-p
(generic function).
head-unborn-p
(generic function).
index
(class).
index-add-file
(generic function).
index-clear
(generic function).
index-conflicts-p
(generic function).
index-dirty-error
(condition).
index-reload
(generic function).
index-to-tree
(generic function).
index-write
(generic function).
init-repository
(generic function).
invalid-error
(condition).
invalid-spec-error
(condition).
libgit2-features
(function).
libgit2-init
(function).
libgit2-shutdown
(function).
libgit2-version
(function).
list-objects
(generic function).
locked-error
(condition).
ls-remote
(generic function).
make-commit
(function).
make-object
(generic function).
make-patch
(generic function).
make-tag
(function).
merge-conflict-error
(condition).
message
(generic function).
message-encoding
(generic function).
message-trailers
(generic function).
mismatch-error
(condition).
modified-error
(condition).
next-revision
(generic function).
non-fast-forward-error
(condition).
not-found-error
(condition).
object-type
(generic function).
odb
(class).
odb-data
(generic function).
odb-object
(class).
odb-size
(generic function).
odb-type
(generic function).
oid
(generic function).
open-index
(generic function).
open-odb
(generic function).
open-repository
(generic function).
parents
(generic function).
passthrough
(condition).
patch-to-string
(generic function).
peel-error
(condition).
reachable-from
(generic function).
reference
(class).
reflog
(generic function).
reflog
(class).
reflog-entry
(class).
remote
(class).
remote-connect
(generic function).
remote-connected-p
(generic function).
remote-disconnect
(generic function).
remote-download
(generic function).
remote-fetch-refspecs
(generic function).
remote-p
(generic function).
remote-push
(generic function).
remote-push-refspecs
(generic function).
remote-push-url
(generic function).
remote-url
(generic function).
repository
(class).
repository-head
(generic function).
repository-path
(generic function).
repository-status
(function).
repository-workdir
(generic function).
resolve
(generic function).
retry
(condition).
revision-walk
(function).
short-name
(generic function).
ssh-key
(class).
stop-iteration
(condition).
symbolic-p
(generic function).
tag
(class).
tag-p
(generic function).
tagger
(generic function).
target
(generic function).
(setf target)
(generic function).
tree
(class).
tree-blob
(class).
tree-directory
(generic function).
tree-tree
(class).
unborn-branch-error
(condition).
uncommitted-error
(condition).
unknown-error
(condition).
unmerged-error
(condition).
unresolved-reference-error
(condition).
upstream
(generic function).
user-error
(condition).
username-password
(class).
with-index
(macro).
with-repository
(macro).
%git-blob-is-binary
(function).
%git-blob-raw-content
(function).
%git-blob-raw-size
(function).
%git-branch-create
(function).
%git-branch-is-head
(function).
%git-branch-lookup
(function).
%git-branch-remote-name
(function).
%git-branch-upstream
(function).
%git-branch-upstream-name
(function).
%git-buf-free
(function).
%git-checkout-init-options
(function).
%git-checkout-tree
(function).
%git-clone
(function).
%git-clone-init-options
(function).
%git-commit-create
(function).
%git-commit-message-encoding
(function).
%git-commit-tree
(function).
%git-config-for-each
(function).
%git-config-open-level
(function).
%git-cred-ssh-key-from-agent
(function).
%git-cred-ssh-key-new
(function).
%git-cred-userpass-plaintext-new
(function).
%git-diff-foreach
(function).
%git-diff-free
(function).
%git-diff-get-delta
(function).
%git-diff-index-to-workdir
(function).
%git-diff-num-deltas
(function).
%git-diff-options-init
(function).
%git-diff-tree-to-index
(function).
%git-diff-tree-to-tree
(function).
%git-fetch-options-init
(function).
%git-graph-reachable-from-any
(function).
%git-index-add
(function).
%git-index-add-by-path
(function).
%git-index-caps
(function).
%git-index-clear
(function).
%git-index-entry-count
(function).
%git-index-entry-stage
(function).
%git-index-free
(function).
%git-index-get-by-index
(function).
%git-index-get-by-path
(function).
%git-index-has-conflicts
(function).
%git-index-new
(function).
%git-index-open
(function).
%git-index-read
(function).
%git-index-write
(function).
%git-index-write-tree
(function).
%git-is-branch
(function).
%git-is-remote
(function).
%git-lookup-by-name
(generic function).
%git-message-trailer-array-free
(function).
%git-message-trailers
(function).
%git-object-lookup
(function).
%git-odb-for-each
(function).
%git-odb-free
(function).
%git-odb-object-data
(function).
%git-odb-object-free
(function).
%git-odb-object-size
(function).
%git-odb-object-type
(function).
%git-odb-read
(function).
%git-patch-free
(function).
%git-patch-from-diff
(function).
%git-patch-get-delta
(function).
%git-patch-to-buf
(function).
%git-proxy-options-init
(function).
%git-push-options-init
(function).
%git-reference-create
(function).
%git-reference-free
(function).
%git-reference-list
(function).
%git-reference-lookup
(function).
%git-reference-name
(function).
%git-reference-resolve
(function).
%git-reference-set-target
(function).
%git-reference-symbolic-create
(function).
%git-reference-symbolic-target
(function).
%git-reference-target
(function).
%git-reflog-entry-by-index
(function).
%git-reflog-entry-commiter
(function).
%git-reflog-entry-count
(function).
%git-reflog-entry-message
(function).
%git-reflog-free
(function).
%git-reflog-read
(function).
%git-remote-connect
(function).
%git-remote-connected
(function).
%git-remote-create
(function).
%git-remote-disconnect
(function).
%git-remote-download
(function).
%git-remote-free
(function).
%git-remote-get-fetch-refspecs
(function).
%git-remote-get-push-refspecs
(function).
%git-remote-get-refspec
(function).
%git-remote-init-callbacks
(function).
%git-remote-list
(function).
%git-remote-lookup
(function).
%git-remote-ls
(function).
%git-remote-name
(function).
%git-remote-push
(function).
%git-remote-push-url
(function).
%git-remote-refspec-count
(function).
%git-remote-url
(function).
%git-repository-config
(function).
%git-repository-head
(function).
%git-repository-head-detached
(function).
%git-repository-head-unborn
(function).
%git-repository-index
(function).
%git-repository-init
(function).
%git-repository-is-bare
(function).
%git-repository-is-empty
(function).
%git-repository-odb
(function).
%git-repository-open
(function).
%git-repository-path
(function).
%git-repository-set-head
(function).
%git-repository-set-head-detached
(function).
%git-repository-workdir
(function).
%git-revwalk-free
(function).
%git-revwalk-new
(function).
%git-revwalk-next
(function).
%git-revwalk-push
(function).
%git-revwalk-reset
(function).
%git-revwalk-sorting
(function).
%git-status-file
(function).
%git-status-for-each
(function).
%git-strarray-free
(function).
%git-tag-create
(function).
%git-tag-create-lightweight
(function).
%git-tag-foreach
(function).
%git-tag-list
(function).
%git-tag-peel
(function).
%git-tag-target
(function).
%git-version
(function).
*branch-values*
(special variable).
*config-values*
(special variable).
*diff-context-lines*
(special variable).
*diff-interhunk-lines*
(special variable).
*diff-max-size*
(special variable).
*diff-new-prefix*
(special variable).
*diff-old-prefix*
(special variable).
*git-diff-deltas*
(special variable).
*git-remote-callbacks*
(special variable).
*oid-abbrev*
(special variable).
*oid-values*
(special variable).
*remote-ls-values*
(special variable).
*status-values*
(special variable).
*tag-values*
(special variable).
+git-checkout-options-version+
(constant).
+git-clone-options-version+
(constant).
+git-diff-options-version+
(constant).
+git-fetch-options-version+
(constant).
+git-proxy-options-version+
(constant).
+git-push-options-version+
(constant).
+git-remote-callbacks-version+
(constant).
+success+
(special variable).
acquire-credentials
(generic function).
buffer
(class).
checkout-options
(class).
chomp-pathname
(function).
clone-options
(class).
commit-oid-from-oid
(function).
copy-remote-callback-db
(function).
credentials
(generic reader).
(setf credentials)
(generic writer).
credentials
(class).
default-email
(function).
default-name
(function).
define-git-condition
(macro).
diff-context-lines
(generic reader).
(setf diff-context-lines)
(generic writer).
diff-delta-type
(class).
diff-flags
(generic reader).
(setf diff-flags)
(generic writer).
diff-ignore-submodules
(generic reader).
(setf diff-ignore-submodules)
(generic writer).
diff-interhunk-lines
(generic reader).
(setf diff-interhunk-lines)
(generic writer).
diff-list
(class).
diff-max-size
(generic reader).
(setf diff-max-size)
(generic writer).
diff-new-prefix
(generic reader).
(setf diff-new-prefix)
(generic writer).
diff-notify-cb
(generic reader).
(setf diff-notify-cb)
(generic writer).
diff-oid-abbrev
(generic reader).
(setf diff-oid-abbrev)
(generic writer).
diff-old-prefix
(generic reader).
(setf diff-old-prefix)
(generic writer).
diff-options
(class).
diff-pathspec
(generic reader).
(setf diff-pathspec)
(generic writer).
diff-payload
(generic reader).
(setf diff-payload)
(generic writer).
diff-progress-cb
(generic reader).
(setf diff-progress-cb)
(generic writer).
diff-version
(generic reader).
dispose
(generic function).
enable-garbage-collection
(generic function).
entry-by-path
(generic function).
enum-to-bitmask
(macro).
error-class
(generic reader).
(setf error-class)
(generic writer).
error-code
(generic reader).
(setf error-code)
(generic writer).
error-conditions
(special variable).
error-message
(generic reader).
(setf error-message)
(generic writer).
facilitator
(generic reader).
(setf facilitator)
(generic writer).
fetch-options
(generic reader).
(setf fetch-options)
(generic writer).
fetch-options
(class).
finalizer-data
(generic reader).
(setf finalizer-data)
(generic writer).
free-function
(generic reader).
(setf free-function)
(generic writer).
git-commit-author
(function).
git-commit-committer
(function).
git-commit-from-oid
(function).
git-commit-message
(function).
git-commit-parent-oid
(function).
git-commit-parentcount
(function).
git-config-free
(function).
git-error-tclass
(class).
git-error-type
(class).
git-object
(class).
git-object-free
(function).
git-object-id
(function).
git-object-lookup
(function).
git-object-lookup-ptr
(function).
git-object-type
(function).
git-odb-object-id
(function).
git-oid-tostr
(function).
git-pointer
(class).
git-reference-type
(function).
git-repository-free
(function).
git-resolve
(function).
git-signature-type
(class).
git-tag-message
(function).
git-tag-name
(function).
git-tag-tagger
(function).
git-tree-entry-by-index
(function).
git-tree-entry-byname
(function).
git-tree-entry-count
(function).
git-tree-entry-filemode
(function).
git-tree-entry-id
(function).
git-tree-entry-name
(function).
git-tree-entry-type
(function).
git-tree-oid
(function).
giterr-last
(function).
id
(generic reader).
index-entry-type
(class).
index-time-struct-type
(class).
internal-dispose
(function).
lookup-oid
(function).
lookup-oids
(function).
make-commit-from-oid
(function).
make-instance-object
(function).
make-lightweight-tag
(function).
make-patch1
(generic function).
make-reference-from-name
(function).
make-remote-callback-db
(function).
make-remote-from-name
(function).
make-revwalk
(function).
make-timezone
(function).
make-tree-entry
(function).
mapc-weak
(function).
new-index
(function).
null-or-nullpointer
(function).
object-type-mapping
(special variable).
oid-from-foreign
(function).
oid-from-string-or-number
(function).
oid-to-foreign
(function).
oid-type
(class).
ok
(condition).
parent-count
(generic function).
passphrase
(generic reader).
(setf passphrase)
(generic writer).
password
(generic reader).
(setf password)
(generic writer).
patch
(class).
pathname-mixin
(class).
pointer
(generic function).
(setf pointer)
(generic writer).
private-key
(generic reader).
(setf private-key)
(generic writer).
proxy-options
(class).
public-key
(generic reader).
(setf public-key)
(generic writer).
push-custom-headers
(generic reader).
push-options
(class).
push-packbuilder-parallelism
(generic reader).
push-proxy-options
(generic reader).
push-version
(generic reader).
reference-dir
(special variable).
reference-heads-dir
(special variable).
reference-remotes-dir
(special variable).
reference-tags-dir
(special variable).
refspec-struct-type
(class).
refspec-type
(class).
register-remote-callback
(function).
remote-callback-db
(structure).
remote-callback-db-id->instance-map
(reader).
(setf remote-callback-db-id->instance-map)
(writer).
remote-callback-db-id-in-use-p
(function).
remote-callback-db-last-used-id
(reader).
(setf remote-callback-db-last-used-id)
(writer).
remote-callback-db-p
(function).
remote-callbacks
(generic reader).
(setf remote-callbacks)
(generic writer).
remote-callbacks
(class).
remote-callbacks-by-id
(function).
remote-head-type
(class).
remote-name
(generic function).
remove-trailing-slash
(function).
return-value-type
(class).
revision-walker
(class).
split-pathname
(function).
time-t
(class).
timezone-offset
(generic function).
trailing-slash-p
(function).
tree-commit
(class).
tree-entries
(function).
tree-entry
(class).
tree-link
(class).
tree-pathname-match-p
(function).
username
(generic reader).
(setf username)
(generic writer).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Lookup commits specified in the bindings. The bindings syntax is similar to the LET syntax except instead of needing to specify an initial form key arguments are used. Atleast one key arguments SHA or HEAD must be specified. SHA is a hash of the commit. HEAD is a full ref path.
Load an index from a repository, path or if none is specified then an in-memory index is used. The newly opened index is bound to the variable VAR.
Evaluates the body with VAR bound to a newly opened located repository at PATHNAME-OR-STRING. Repository is freed upon exit of this scope so any objects that leave this scope will no longer be able to access the repository.
Returns t if there exists a REFLOG for the reference.
Return a list of the libgit2 capabilities, possible values in the list return values are :THREADS and :HTTPS.
Init libgit2 library.
Shutdown libgit2 library.
Returns the libgit2 C-library version number as a list of three integers, (major minor revision).
Create a new commit from the tree with the OID specified and MESSAGE. Optional :UPDATE-REF is the name of the reference that will be updated to point to this commit. The default value "HEAD" will update the head of the current branch. If it’s value is NULL then no reference will be updated. :AUTHOR is an optional instance of a GIT-SIGNATURE that details the commit author. :COMMITTER is an optional instance of a GIT-SIGNATURE the details the committer. :PARENTS is an optional list of parent commits sha1 hashes.
Create a tag that points to target.
NAME is the name of the tag. MESSAGE will set the message body of the
tag.
REPOSITORY is the repository that the tag will be added to. TARGET is
the object that the tag will point to. TAGGER should be a signature
plist.
If FORCE is t the tag will be created, even if a tag with the same name already exists. If FORCE is nil, it will return an error if that is the case.
Return the current status values for each of the object in the repository. For each element of the list the FIRST is the name of the file and the CDR is a list of keywords that containing the current state of the file. Possible states are: :CURRENT :INDEX-NEW :INDEX-MODIFIED :INDEX-DELETED :INDEX-RENAMED :INDEX-TYPECHANGE :WORKTREE-NEW :WORKTREE-MODIFIED :WORKTREE-DELETED :WORKTREE-TYPECHANGE :WORKTREE-RENAMED :WORKTREE-UNREADABLE :IGNORED or :CONFLICTED
Create a revision walker starts iteration from the COMMITS listed.
The ordering can be adjusted to :NONE :TOPOLOGICAL :REVERSE or :TIME,
which is the default.
Once created iteration over commits can be done with the method NEXT-REVISION method.
Returns the author’s signature of OBJECT.
A signature is a list with the keys :NAME :EMAIL and :TIME. The :NAME and :EMAIL values are strings, and the :TIME value is LOCAL-TIME timestamp.
Return T if the repository is bare.
repository
)) ¶Return T if the contents of the blob is binary.
Returns the content of the blob BLOB as an array of UNSIGNED-BYTE’s
Return the size of the blob in bytes.
Return T if the reference is within the git heads namespace.
string
)) ¶Checkout an object and replace the working tree and index with it’s content. If passed a reference update the head ot point at the reference.
Checkout the git COMMIT or TREE over the top of the contents of the working directory.
Clone a repository from URL to PATH. CREDENTIALS
Returns the TREE object of the commit.
Returns the committer’s signature of OBJECT.
A signature is a list with the keys :NAME :EMAIL and :TIME. The :NAME and :EMAIL values are strings, and the :TIME value is LOCAL-TIME timestamp.
reflog-entry
)) ¶Diff two objects.
repository
) (index index
) &optional options) ¶Return T if the repository is empty and contains no references.
repository
)) ¶Returns the elements of the collection OBJECT as a
list. The start and end keyword arguments allow to retrieve a subset
of all elements. All entries with index satisfying
START <= INDEX < END
are returned. If END is not specified or nil, no END condition exists. start defaults to 0.
Returns the element at position INDEX from the collection OBJECT.
Returns the number elements in the collection OBJECT.
pathname-mixin
)) ¶Return the filename as a PATHNAME
TODO
git-pointer
)) ¶Returns the name of OBJECT, as a string.
What exactly the name is depends on the type of the object.
Return an object of type CLASS from the object database. The lookup will use either an oid or a name to find the object.
(eql cl-git:odb-object)
) oid (repository repository
)) ¶(eql cl-git:remote)
) name repository) ¶(eql cl-git:reference)
) name repository) ¶Find a reference by its full name e.g.: refs/heads/master
Note that this function name clashes with the generic lookup function.
We need to figure this out by using the type argument to do dispatch.
(eql cl-git:commit)
) oid repository) ¶(eql cl-git:object)
) oid repository) ¶Open a Git config. LEVEL can be used to limit the
git config to a specific level. Possible levels are :HIGHEST-LEVEL
:SYSTEM :XDG :GLOBAL or :LOCAL
config
) &key level) ¶Returns the key value pairs in the config as an association list.
repository
) &key level) ¶TODO
Returns T if the HEAD in the repository is detached, in other words, the HEAD reference is not a symbolic reference to a branch, but a direct commit.
repository
)) ¶Returns T if the current HEAD points to this branch. This means that this is the branch that is checked out.
Returns T if the HEAD points to a commit that doesn’t exist.
repository
)) ¶Adds the PATH to the INDEX.
Clear contents of the INDEX removing all entries. Changes need to be written back to disk to take effect.
Return T if the index contains any conflicting changes.
Reload the state of the INDEX with objects read from disk.
Write the current index to a new tree object.
Write the INDEX back to the file system.
Create a new Git repository. PATH/NAME can be either an instance of a STRING or a PATHNAME. A truthful value for the key BARE will init a repository that does not have a local checkout, it’s normally appropriate for the basename of the path to end in ’.git’. A REPOSITORY instance is returned.
(eql :oid)
) (repository repository
) &key test test-not) ¶(eql cl-git:remote)
) repository &key test test-not) ¶(eql cl-git:tag)
) repository &key test test-not) ¶Returns a list of tag for the repository. If the tag is an annotated tag then a TAG object will be returned, otherwise it will be a ref with the in the tag namespace.
(eql cl-git:reference)
) repository &key test test-not) ¶List all the refs the returned list can be filtered using a PREDICATE.
Lists the current refs at the remote. Return a
list of the refs described by NAME, REMOTE-OID, LOCAL-OID and a
LOCAL bool that is true if the ref has a local copy.
Create objects within a Git repository, Please see the documentation for each implementing method.
(eql cl-git:remote)
) name repository &key url) ¶Create a new remote.
(eql cl-git:tag)
) name repository &key type force target signature message) ¶Create a tag to TARGET.
The type of tag depends on TYPE. If TYPE is :ANNOTATED the value of
TARGET should be an OID and a direct tag is created. If TYPE is
:LIGHTWEIGHT, a reference is created and TARGET should be a
OID. SIGNATURE should be a signature plist.
If FORCE is t the tag will be created, even if a tag with
the same name already exists. If FORCE is nil, it will return an
error if that is the case.
(eql cl-git:branch)
) name repository &key target force) ¶Create a new branch pointing at the commit TARGET resolves to.
(eql cl-git:reference)
) name repository &key type force target signature log-message) ¶Create a reference to TARGET.
The type of reference depends on TYPE. If TYPE is :OID the value of
TARGET should be an OID and a direct reference is created. If TYPE
is :SYMBOLIC, a symbolic reference is created and TARGET should be a
string. SIGNATURE should be a signature plist. LOG-MESSAGE should be a
string.
If FORCE is t the reference will be created, even if a reference with the same name already exists. If FORCE is nil, it will return an error if that is the case.
Return the message associated with OBJECT.
For example for commits this will return the commit message and for
tags the message associated with the tag.
reflog-entry
)) ¶Return a KEYWORD containing the encoding of the commit message.
Read the message trailers and return a list of them.
string
)) ¶Returns the next object for the walker. If no objects are available anymore return nil.
revision-walker
)) ¶git-object
)) ¶odb-object
)) ¶odb-object
)) ¶odb-object
)) ¶Return the identifier of OBJECT.
The identifier is typically the SHA-1 checksum or hash code.
Note that this is an integer, and not the string you typically see reported by Git.
To get the string representation use format like this:
(format nil "~40,’0X" (oid object))
or if you want lowercase hexadecimal digits:
(format nil "~(~40,’0X~)" (oid object))
odb-object
)) ¶reference
)) ¶Returns the oid that this reference points to. If this reference is a symbolic reference then it will be resolved to a real reference first.
git-object
)) ¶Returns an index object for OBJECT (a repository)
pathname
)) ¶Open a new INDEX from a file.
string
)) ¶Open a new INDEX from a file.
repository
)) ¶Return the index of the repository.
Open the ODB at the specified path or repository.
repository
)) ¶Open an existing repository located at PATH/NAME. The repository object will be garbage collected. If it’s freed explicitly then all related objects will have undefined behaviour.
Returns a list of oids identifying the parents of OBJECT.
Return T if given commit is an ancestor of any of the given potential descendant commits.
repository
) (commit commit
) commits) ¶Opens the remote connection.
The url used for the connection can be queried by GIT-URL.
The opened connection is one way, either data is retrieved from the remote, or data is send to the remote. The direction is specified with the DIRECTION argument, :FETCH is for retrieving data, :PUSH is for sending data.
Returns t if the connection is open, nil otherwise.
Disconnects an opened connection.
Download the required packfile from the remote to bring the repository into sync.
Returns a list of fetch specifications for the remote.
Return T if the reference is within the git remotes namespace.
string
)) ¶Perform a push.
Returns a list of push specifications of the remote.
Return the url to the remote.
Returns the resolved reference for HEAD.
repository
)) ¶Return the path to the repository. In the case
where the repository isn’t bare then it will be the location of the
.git directory.
repository
)) ¶Returns the path the the .git directory of the repository. For a bare repository to the repository itself.
Return the path to the root of the repository.
repository
)) ¶Returns the working directory for the repository. This is the directory that files are checked out into.
tag
) &optional stop-at) ¶Resolve the tag target until the target object is not a tag anymore.
Basically calls TARGET on tag and result until there is a COMMIT
returned.
Using values returns the finally found object and a list of the traversed objects.
Returns the short name of OBJECT, as a string.
What exactly the name is depends on the type of the object.
Return T if the reference is symbolic.
Return T if the reference is within the git tag namespace.
Returns the signature of the tagger of OBJECT.
The return value is a signature (a property list with
keys :NAME, :EMAIL and :TIME. If the tag is not annotated then nil
will be returned.
Returns the target of OBJECT.
Returns the target of OBJECT.
List objects from a tree. Optional argument pathname a wild pathname that the entries must match.
push-options
) freep) ¶cffi
.
diff-options
) param) ¶cffi
.
git-signature-type
) do-not-free) ¶cffi
.
fetch-options
) freep) ¶cffi
.
clone-options
) &rest initargs &key credentials) ¶git-object
) &rest r) ¶Setup the finalizer to call internal-dispose with the right arguments.
remote-callbacks
) &rest args) ¶pathname-mixin
) stream) ¶git-object
) stream) ¶index-entry-type
)) ¶cffi
.
return-value-type
)) ¶cffi
.
tree-entry
)) ¶cffi
.
remote-head-type
)) ¶cffi
.
git-signature-type
)) ¶cffi
.
time-t
)) ¶Translate a git time_t to a local-time
cffi
.
git-error-type
)) ¶cffi
.
refspec-struct-type
)) ¶cffi
.
refspec-type
)) ¶cffi
.
push-options
) (type push-options
) ptr) ¶cffi
.
clone-options
) (type clone-options
) ptr) ¶cffi
.
diff-options
) (type diff-options
) ptr) ¶cffi
.
checkout-options
) (type checkout-options
) ptr) ¶cffi
.
fetch-options
) (type fetch-options
) ptr) ¶cffi
.
remote-callbacks
) (type remote-callbacks
) ptr) ¶Translate a remote-callbacks class into a foreign structure.
cffi
.
repository
)) ¶cffi
.
push-options
)) ¶cffi
.
index-entry-type
)) ¶cffi
.
clone-options
)) ¶cffi
.
diff-options
)) ¶cffi
.
git-pointer
)) ¶cffi
.
checkout-options
)) ¶cffi
.
git-signature-type
)) ¶cffi
.
integer
) (type time-t
)) ¶Translate a universal-time to a git time_t
cffi
.
timestamp
) (type time-t
)) ¶Translate a local-time value to a git time_t
cffi
.
proxy-options
)) ¶cffi
.
git-object
)) ¶cffi
.
fetch-options
)) ¶cffi
.
revision-walker
)) ¶cffi
.
remote-callbacks
)) ¶cffi
.
More than one object matches
Patch/merge has already been applied
Patch application failedq
Authentication error
Operation not allowed on bare repository
simple-error
.
ambiguous-error
.
applied-error
.
apply-fail-error
.
auth-error
.
barerepo-error
.
buffer-error
.
certificate-error
.
conflict-error
.
connection-error
.
directory-error
.
eof-error
.
exists-error
.
general-error
.
index-dirty-error
.
invalid-error
.
invalid-spec-error
.
locked-error
.
merge-conflict-error
.
mismatch-error
.
modified-error
.
non-fast-forward-error
.
not-found-error
.
ok
.
passthrough
.
peel-error
.
retry
.
stop-iteration
.
unborn-branch-error
.
uncommitted-error
.
unknown-error
.
unmerged-error
.
user-error
.
Text message indicating what went wrong.
(quote nil)
:message
The error value returned by a function.
(quote nil)
:code
The error code/class returned by git_lasterr.
common-lisp
.
(quote nil)
:class
Output buffer too short to hold data
Server certificate is invalid
Checkout conflicts prevented operation
The operation is not valid for a directory
Unexpected EOF
Object exists preventing operation
Generic error
Unsaved changes in the index would be overwritten
Invalid operation or input
Name/ref spec was not in a valid format
Lock file prevented operation
A merge conflict exists and cannot continue
Hashsum mismatch in object
Reference value does not match expected
Reference was not fast-forwardable
Requested object could not be found
A user-configured callback refused to act
The requested peel operation is not possible
Internal only
Signals end of iteration with iterator
HEAD refers to branch with no commits
Uncommitted changes in index prevented operation
This return value is not expected.
Merge in progress prevented operation
error
.
GIT_EUSER is a special error that is never generated by libgit2 code. You can return it from a callback (e.g to stop an iteration) to know that it was generated by the callback and not by libgit2.
A git blob.
Commit objects link the state of the tree with a
description. Commits contain a description of the author, commit
author and a message about the commit. They also contain state
information about the current tree and links to any parent commits.
Commits that have more then one parent are considered to be merges.
A git index
Repository is the root type, it contains the object database.
An SSH-key credential, possibly with a nonstandard path.
:public-key
(namestring (merge-pathnames ".ssh/id_rsa" (user-homedir-pathname)))
:private-key
:passphrase
Tags are used to identify interesting points in the repositories history.
A git tree blob.
A git tree entry.
The version of the C remote callbacks structure that this code uses.
Used to handle return values from the git diff
This database maps from a uint ID to a REMOTE-CALLBACKS
structure. When a C remote callbacks structure is created, the ID of
the Lisp structure it was created from is entered into the payload
slot. This way, Lisp can figure out which callback structure generated
the callback.
Used to signal success for C return values in callbacks.
The number of content bytes in the blob.
Returns t is the current HEAD points to this branch. This means that this is the branch that is checked out.
Return a string containing the encoding of the commit message.
The encoding may be NIL if the encoding header in the commit is missing; in that case UTF-8 is assumed.
Limit return a new git config object that is limited to the level specified.
Determine if a commit is reachable from any of a list of commits by following parent edges.
Return an int with a value from 0 to 4. Files in the working directory return stage 0. Files with stages 1 (ancestor), 2 (ours) and 3 (theirs) are in conflict.
Returns t if the reference is a local branch.
Returns t if the reference lives in the refs/remotes namespace.
Split a path by out into segments by index.
Returns the oid of a commit referenced by ‘oid’.
If the ‘oid’ refers to a commit the function is basically a
no-op. However if ‘oid’ refers to a tag, it will return
the oid of the target of the tag.
Given a commit return the commit author’s signature.
Given a commit return the commit committer’s signature.
Returns a git-commit object identified by the ‘oid’.
This is an extended version of GIT-COMMIT-LOOKUP.
If the oid refers to a tag, this function will return the git-commit
pointed to by the tag. The call git-commit-lookup will fail.
Return a string containing the commit message.
Returns the oid of the parent with index ‘parent-index’ in the list of parents of the commit ‘commit’.
Returns the number of parent commits of the argument.
Free the git configuration object that is acquired with REPOSITORY-CONFIG.
Free the git object.
Returns the oid identifying OBJECT
Returns a git object which is identified by the OID.
The type argument specifies which type is expected. If the found
object is not of the right type, an error will be signalled.
Returns the type of the git object.
Returns the buffer that the string is written into. The size of the input buffer should be equal to git oid hex size + 1.
If the reference is symbolic, follow the it until it finds a non symbolic reference.
Returns the tree entry at index
Returns the number of tree entries in the tree object.
This does count the number of direct children, not recursively.
Returns the tree entry attributes.
Returns the tree entry name.
Returns the tree entry type.
Helps disposing objects.
This function implements most of the disposing/freeing logic, but
because it is called from the finalize method it cannot access the relevant
object directly.
Returns an oid for a single commit (or tag). It takes a single
keyword argument, either SHA or HEAD If the keyword argument is SHA
the value should be a SHA1 id as a string, or an OID as a number.
The value for the HEAD keyword should be a symbolic reference to a git commit.
TODO, this function is a bit messy, need to think about cleaning this up.
Similar to lookup-commit, except that the keyword arguments also accept a list of references. In that case it will return a list of oids instead of a single oid. If the argument was a single reference, it will return a list containing a single oid.
Make a weak commit by oid that can be looked-up later.
Creates an object wrapping OBJECT-PTR.
OBJECT-PTR needs to point to one of the git storage types, such as:
:commit :tag :tree or :blob. This function is not suitable to
wrap git pointers to repositories, config, index etc.
Create a tag that points to target.
NAME is the name of the tag.
REPOSITORY is the repository that the tag will be added to. TARGET is
the object that the tag will point to. TAGGER should be a signature
plist.
If FORCE is t the tag will be created, even if a tag with the same name already exists. If FORCE is nil, it will return an error if that is the case.
Make a weak reference by name that can be looked-up later.
Make a weak reference by name that can be looked-up later.
Create a new, empty, revwalker
Return a new timezone based on the number on minutes in the OFFSET.
Make a weak reference by name that can be looked-up later.
Same as mapc, but for lists containing weak-pointers. The function is applied to WEAK-POINTER-VALUE of the objects in the LIST. Except when WEAK-POINTER-VALUE is nul of course, because in that case the object is gone.
Create a new in-memory index that can be used to perform in memory operations that may not be written back to the disk.
Returns an OID (integer) from value. This is a very limited function, it converts strings by interpreting them as base 16 numbers and returns a number straight through.
Returns the ID of the remote callback in the database.
Return trailing slash if there is one and return a string.
Return T if the string ends in a slash.
Match a git tree pathname, remove the trailing slash before hand.
Lookup a reference by name and return a pointer to it. This pointer will need to be freed manually.
Specializes on CREDENTIAL-TYPE to fill GIT-CRED
with a pointer to an object allocated in foreign memory that libgit
can use as credentials.
username-password
) git-cred url username-from-url allowed-types payload) ¶ssh-key
) git-cred url username-from-url allowed-types payload) ¶(eql cl-git:ssh-key)
) git-cred url username-from-url allowed-types payload) ¶(eql cl-git:ssh-key-from-agent)
) git-cred url username-from-url allowed-types payload) ¶Acquire credentials from the SSH Agent
Default implementation that does nothing.
remote-callbacks
)) ¶automatically generated reader method
remote-callbacks
)) ¶automatically generated writer method
diff-options
)) ¶automatically generated reader method
diff-options
)) ¶automatically generated writer method
diff-options
)) ¶automatically generated reader method
diff-options
)) ¶automatically generated writer method
diff-options
)) ¶automatically generated reader method
diff-options
)) ¶automatically generated writer method
diff-options
)) ¶automatically generated reader method
diff-options
)) ¶automatically generated writer method
diff-options
)) ¶automatically generated reader method
diff-options
)) ¶automatically generated writer method
diff-options
)) ¶automatically generated reader method
diff-options
)) ¶automatically generated writer method
diff-options
)) ¶automatically generated reader method
diff-options
)) ¶automatically generated writer method
diff-options
)) ¶automatically generated reader method
diff-options
)) ¶automatically generated writer method
diff-options
)) ¶automatically generated reader method
diff-options
)) ¶automatically generated writer method
diff-options
)) ¶automatically generated reader method
diff-options
)) ¶automatically generated writer method
diff-options
)) ¶automatically generated reader method
diff-options
)) ¶automatically generated writer method
diff-options
)) ¶automatically generated reader method
diff-options
)) ¶automatically generated writer method
diff-options
)) ¶automatically generated reader method
This interface is used to mark as invalid git objects when for example the repository is closed.
git-object
)) ¶Dispose of the object and association to the facilitator. Mark the pointer as disposed.
git-pointer
)) ¶Dispose of the object and any association to the facilitator.
Returns the element at location PATH from the collection OBJECT.
basic-error
)) ¶basic-error
)) ¶basic-error
)) ¶basic-error
)) ¶code
.
basic-error
)) ¶basic-error
)) ¶git-pointer
)) ¶automatically generated reader method
git-pointer
)) ¶automatically generated writer method
clone-options
)) ¶automatically generated reader method
clone-options
)) ¶automatically generated writer method
git-pointer
)) ¶automatically generated reader method
git-pointer
)) ¶automatically generated writer method
git-pointer
)) ¶automatically generated reader method
git-pointer
)) ¶automatically generated writer method
remote-callbacks
)) ¶automatically generated reader method
id
.
Returns the number of parents of OBJECT.
For Commits this indicate the number of parent commits. So it is 1 for normal commits, > 1 for merges and 0 for initial commits.
username-password
)) ¶automatically generated reader method
username-password
)) ¶automatically generated writer method
git-object
)) ¶Try and resolve the pointer if it isn’t set.
git-pointer
)) ¶A CFFI pointer from libgit2.
This is the git object that is wrapped by the instance of this class.
git-pointer
)) ¶A CFFI pointer from libgit2.
This is the git object that is wrapped by the instance of this class.
push-options
)) ¶automatically generated reader method
push-options
)) ¶automatically generated reader method
push-options
)) ¶automatically generated reader method
push-options
)) ¶automatically generated reader method
push-options
)) ¶automatically generated reader method
fetch-options
)) ¶automatically generated reader method
fetch-options
)) ¶automatically generated writer method
Calculate the current timezone offset.
username-password
)) ¶automatically generated reader method
username-password
)) ¶automatically generated writer method
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
(make-instance (quote cl-git::fetch-options))
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
enhanced-foreign-type
.
(setf diff-context-lines)
.
diff-context-lines
.
(setf diff-flags)
.
diff-flags
.
(setf diff-ignore-submodules)
.
diff-ignore-submodules
.
(setf diff-interhunk-lines)
.
diff-interhunk-lines
.
(setf diff-max-size)
.
diff-max-size
.
(setf diff-new-prefix)
.
diff-new-prefix
.
(setf diff-notify-cb)
.
diff-notify-cb
.
(setf diff-oid-abbrev)
.
diff-oid-abbrev
.
(setf diff-old-prefix)
.
diff-old-prefix
.
(setf diff-pathspec)
.
diff-pathspec
.
(setf diff-payload)
.
diff-payload
.
(setf diff-progress-cb)
.
diff-progress-cb
.
diff-version
.
free-translated-object
.
translate-into-foreign-memory
.
translate-to-foreign
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
cl-git::+git-diff-options-version+
:version
This slot is read-only.
(quote (:normal))
:flags
cl-git::*oid-abbrev*
:oid-abbrev
:unspecified
:submodule-ignore
cl-git::*diff-context-lines*
:context-lines
cl-git::*diff-interhunk-lines*
:interhunk-lines
cl-git::*diff-old-prefix*
:old-prefix
cl-git::*diff-new-prefix*
:new-prefix
cl-git::*diff-max-size*
:max-size
:pathspec
(cffi-sys:null-pointer)
:notify-cb
(cffi-sys:null-pointer)
:progress-cb
(cffi-sys:null-pointer)
:payload
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
(make-instance (quote cl-git::remote-callbacks))
foreign-struct-type
.
translatable-foreign-type
.
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
Class wrapping a pointer, handles finalization and freeing of the underlying object
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
A CFFI pointer from libgit2.
This is the git object that is wrapped by the instance of this class.
(cffi-sys:null-pointer)
:pointer
:free-function
:facilitator
(cons t nil)
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
A mixin that has a filename attribute.
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
cl-git::+git-push-options-version+
:version
This slot is read-only.
0
:packbuilder-parallelism
This slot is read-only.
(make-instance (quote cl-git::remote-callbacks))
:callbacks
This slot is read-only.
:proxy-options
This slot is read-only.
:custom-headers
This slot is read-only.
foreign-struct-type
.
translatable-foreign-type
.
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
:credentials
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (int)) |
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (git-time-t)) |
A git tree commit.
enhanced-foreign-type
.
Initarg | Value |
---|---|
:actual-type | (quote (pointer)) |
A git tree symlink.
Jump to: | %
(
A B C D E F G H I L M N O P R S T U W |
---|