Git backend.
base.VCS implementation for Git.
Methods
| add(id, *args, **kwargs) | Add an entry |
| ancestors(*args, **kwargs) | Return a list of the specified entry’s ancestors’ ids. |
| changed(revision) | |
| check_storage_version() | |
| children(*args, **kwargs) | Return a list of specified entry’s children’s ids. |
| commit(*args, **kwargs) | Commit the current repository, with a commit message string summary and body. |
| connect() | Open a connection to the repository. |
| destroy() | Remove the storage repository. |
| disconnect() | Close the connection to the repository. |
| exists(*args, **kwargs) | Check an entry’s existence |
| get(*args, **kwargs) | Get contents of and entry as they were in a given revision. |
| get_user_id() | Get the VCS’s suggested user id (e.g. “John Doe <jdoe@example.com>”). |
| init() | Create a new storage repository. |
| installed() | |
| is_readable() | |
| is_writeable() | |
| path(id[, revision, relpath]) | |
| recursive_remove(*args, **kwargs) | Remove an entry and all its decendents. |
| remove(*args, **kwargs) | Remove an entry. |
| revision_id([index]) | |
| root() | Set the root directory to the path’s VCS root. |
| set(id, value, *args, **kwargs) | Set the entry contents. |
| storage_version([revision, path]) | Return the storage version of the on-disk files. |
| version() | |
| version_cmp(*args) | Compare the installed VCS version V_i with another version |
base.VCS implementation for Git.
Using pygit2 for the Git activity.
Methods
| add(id, *args, **kwargs) | Add an entry |
| ancestors(*args, **kwargs) | Return a list of the specified entry’s ancestors’ ids. |
| changed(revision) | |
| check_storage_version() | |
| children(*args, **kwargs) | Return a list of specified entry’s children’s ids. |
| commit(*args, **kwargs) | Commit the current repository, with a commit message string summary and body. |
| connect() | Open a connection to the repository. |
| destroy() | Remove the storage repository. |
| disconnect() | Close the connection to the repository. |
| exists(*args, **kwargs) | Check an entry’s existence |
| get(*args, **kwargs) | Get contents of and entry as they were in a given revision. |
| get_user_id() | Get the VCS’s suggested user id (e.g. “John Doe <jdoe@example.com>”). |
| init() | Create a new storage repository. |
| installed() | |
| is_readable() | |
| is_writeable() | |
| path(id[, revision, relpath]) | |
| recursive_remove(*args, **kwargs) | Remove an entry and all its decendents. |
| remove(*args, **kwargs) | Remove an entry. |
| revision_id([index]) | |
| root() | Set the root directory to the path’s VCS root. |
| set(id, value, *args, **kwargs) | Set the entry contents. |
| storage_version([revision, path]) | Return the storage version of the on-disk files. |
| version() | |
| version_cmp(*args) | Compare the installed VCS version V_i with another version |