Interface PackLock

All Known Implementing Classes:
PackLockImpl

public interface PackLock
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 Type
    Method
    Description
    void
    Remove the .keep file that holds a pack in place.
  • Method Details

    • unlock

      void unlock() throws IOException
      Remove the .keep file that holds a pack in place.
      Throws:
      IOException - if deletion of the .keep file failed