Top Description Methods
org.eclipse.jgit.transport

public Interface PackLock

Known Direct Implementers
org.eclipse.jgit.internal.storage.file.PackLockImpl
Imports
java.io.IOException

A PackLock describes a .keep file that holds a pack in place. If PackParser#parse(org.eclipse.jgit.lib.ProgressMonitor) creates such a pack lock, it returns the lock so that it can be unlocked once the pack doesn't need a .keep file anymore.
Since
6.0

Method Summary

Modifier and TypeMethod and Description
public void
unlock()

Remove the .keep file that holds a pack in place.

Method Detail

unlockback to summary
public void unlock() throws IOException

Remove the .keep file that holds a pack in place.

Exceptions
IOException:
if deletion of the .keep file failed