Remote

Warning

This functionally is still under development. So stability of this part of the API is uncertain.

type remote

method (full-name (object remote))

The name of the remote.

Specializers:
(reference)
(remote)
(tag)
(git-object)

method (short-name (object remote))

The name of the remote.

Specializers:
(reference)
(remote)
(tag)
(git-object)

method (get-object (class remote) (id/name T) (repository T))

method (list-objects (class remote) (repository T) &key test test-not)

Specializers:
((eql :oid) repository)
(remote common-lisp:t)
(tag common-lisp:t)
((eql :oid) odb)
(reference common-lisp:t)

generic (ls-remote remote)

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.

Specializers:
(remote)

generic (remote-url remote)

Return the url to the remote.

Specializers:
(remote)

generic (remote-fetch-refspecs remote)

Returns a list of fetch specifications for the remote.

Specializers:
(remote)

generic (remote-push-url remote)

Specializers:
(remote)

generic (remote-push-refspecs remote)

Returns a list of push specifications of the remote.

Specializers:
(remote)

generic (remote-connect object &key direction (direction :fetch))

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.

Specializers:
(remote)

generic (remote-connected-p remote)

Returns t if the connection is open, nil otherwise.

Specializers:
(remote)

generic (remote-disconnect remote)

Disconnects an opened connection.

Specializers:
(remote)

generic (remote-download remote)

Download the required packfile from the remote to bring the repository into sync.

Specializers:
(remote)