class documentation
class FastImport(object):
Add data to a git repository using git fast-import
| Method | __del__ |
Undocumented |
| Method | __init__ |
No summary |
| Method | add |
Add a file |
| Method | add |
Add a symlink |
| Method | close |
Close fast-import issuing all pending actions |
| Method | deleteall |
Issue deleteall to fastimport so we start from a empty tree |
| Method | start |
Start a fast import commit |
| Class Variable | m |
Undocumented |
| Class Variable | m |
Undocumented |
| Class Variable | m |
Undocumented |
| Method | _do |
Undocumented |
| Method | _do |
Undocumented |
| Class Variable | _bufsize |
Undocumented |
| Instance Variable | _fi |
Undocumented |
| Instance Variable | _out |
Undocumented |
| Instance Variable | _repo |
Undocumented |
Add a file
| Parameters | |
| filename:str | the name of the file to add |
| fd:File like object | stream to read data from |
| size:int | size of the file to add |
| mode:int | file mode, default is FastImport.m_regular. |
Start a fast import commit
| Parameters | |
| branch:str | branch to commit on |
committer:GitModifier | the committer information |
| msg:str | the commit message |