Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
Modifier and Type | Method and Description |
---|---|
GarbageCollectCommand |
Git.gc()
Return a command object to execute a
gc command |
GarbageCollectCommand |
GarbageCollectCommand.setAggressive(boolean aggressive)
Whether to use aggressive mode or not.
|
GarbageCollectCommand |
GarbageCollectCommand.setExpire(Date expire)
During gc() or prune() each unreferenced, loose object which has been
created or modified after
expire will not be pruned. |
GarbageCollectCommand |
GarbageCollectCommand.setPreserveOldPacks(boolean preserveOldPacks)
Whether to preserve old pack files instead of deleting them.
|
GarbageCollectCommand |
GarbageCollectCommand.setProgressMonitor(ProgressMonitor monitor)
Set progress monitor
|
GarbageCollectCommand |
GarbageCollectCommand.setPrunePreserved(boolean prunePreserved)
Whether to prune preserved pack files in the preserved directory.
|
Copyright © 2020 Eclipse JGit Project. All rights reserved.