Uses of Class
org.eclipse.jgit.api.GarbageCollectCommand
Packages that use GarbageCollectCommand
-
Uses of GarbageCollectCommand in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api that return GarbageCollectCommandModifier and TypeMethodDescriptionGit.gc()Return a command object to execute agccommandGarbageCollectCommand.setAggressive(boolean aggressive) Whether to use aggressive mode or not.During gc() or prune() each unreferenced, loose object which has been created or modified afterexpirewill not be pruned.GarbageCollectCommand.setPreserveOldPacks(boolean preserveOldPacks) Whether to preserve old pack files instead of deleting them.GarbageCollectCommand.setProgressMonitor(ProgressMonitor monitor) Set progress monitorGarbageCollectCommand.setPrunePreserved(boolean prunePreserved) Whether to prune preserved pack files in the preserved directory.