class documentation
class Bundle:
Git bundle object representation.
| Method | __del__ |
Warn if bundle was not explicitly closed. |
| Method | __enter__ |
Enter context manager. |
| Method | __eq__ |
Check equality with another Bundle. |
| Method | __exit__ |
Exit context manager and close bundle. |
| Method | __repr__ |
Return string representation of Bundle. |
| Method | close |
Close any open resources in this bundle. |
| Method | store |
Store all objects from this bundle into an object store. |
| Class Variable | capabilities |
Undocumented |
| Class Variable | prerequisites |
Undocumented |
| Class Variable | references |
Undocumented |
| Class Variable | version |
Undocumented |
| Instance Variable | pack |
Undocumented |
def __exit__(self, exc_type:
type[ BaseException] | None, exc_val: BaseException | None, exc_tb: types.TracebackType | None):
¶
Exit context manager and close bundle.
def store_objects(self, object_store:
BaseObjectStore, progress: Callable[ [ str], None] | None = None):
¶
Store all objects from this bundle into an object store.
| Parameters | |
objectBaseObjectStore | The object store to add objects to |
progress:Callable[ | Optional progress callback function |