class documentation
Generate a fast-export output stream for Git objects.
| Method | __init__ |
Initialize the fast exporter. |
| Method | emit |
Emit a blob to the output stream. |
| Method | emit |
Emit a commit in fast-export format. |
| Method | print |
Print a command to the output stream. |
| Instance Variable | markers |
Undocumented |
| Instance Variable | outf |
Undocumented |
| Instance Variable | store |
Undocumented |
| Method | _allocate |
Allocate a new marker. |
| Method | _export |
Export a blob object. |
| Method | _export |
Undocumented |
| Method | _iter |
Undocumented |
| Instance Variable | _marker |
Undocumented |
Initialize the fast exporter.
| Parameters | |
outf:BinaryIO | Output file to write to |
store:BaseObjectStore | Object store to export from |
def _export_commit(self, commit:
Commit, ref: Ref, base_tree: ObjectID | None = None) -> tuple[ Any, bytes]:
¶
Undocumented