dulwich.fastexport module¶
Fast export/import functionality.
- class dulwich.fastexport.GitFastExporter(outf, store)¶
Bases:
object
Generate a fast-export output stream for Git objects.
- emit_blob(blob)¶
- emit_commit(commit, ref, base_tree=None)¶
- print_cmd(cmd)¶
- class dulwich.fastexport.GitImportProcessor(repo, params=None, verbose=False, outf=None)¶
Bases:
ImportProcessor
An import processor that imports into a Git repository using Dulwich.
- blob_handler(cmd)¶
Process a BlobCommand.
- checkpoint_handler(cmd)¶
Process a CheckpointCommand.
- commit_handler(cmd)¶
Process a CommitCommand.
- feature_handler(cmd)¶
Process a FeatureCommand.
- import_stream(stream)¶
- lookup_object(objectish)¶
- progress_handler(cmd)¶
Process a ProgressCommand.
- reset_handler(cmd)¶
Process a ResetCommand.
- tag_handler(cmd)¶
Process a TagCommand.
- dulwich.fastexport.split_email(text)¶