Package org.eclipse.jgit.transport
Interface PackLock
-
- All Known Implementing Classes:
PackLockImpl
public interface PackLock
APackLock
describes a.keep
file that holds a pack in place. IfPackParser.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
unlock()
Remove the.keep
file that holds a pack in place.
-
-
-
Method Detail
-
unlock
void unlock() throws IOException
Remove the.keep
file that holds a pack in place.- Throws:
IOException
- if deletion of the.keep
file failed
-
-