class documentation
class PrefetchTask(MaintenanceTask):
Constructor: PrefetchTask(repo, auto, progress)
Prefetch maintenance task.
This prefetches remote refs to keep the object database up-to-date.
| Method | run |
Prefetch remote refs. |
| Class Variable | name |
Undocumented |
Inherited from MaintenanceTask:
| Method | __init__ |
Initialize maintenance task. |
| Method | default |
Return default enabled state for this task. |
| Method | is |
Check if task is enabled in repository configuration. |
| Instance Variable | auto |
Undocumented |
| Instance Variable | progress |
Undocumented |
| Instance Variable | repo |
Undocumented |
overrides
dulwich.maintenance.MaintenanceTask.runPrefetch remote refs.
| Returns | |
bool | True if successful, False otherwise |