Example usage for Java org.eclipse.jgit.internal.storage.file LockFile fields, constructors, methods, implement or subclass
The text is from its open source code.
LockFile(File f) Create a new lock for any file. |
boolean | commit() Commit this change and release the lock. |
OutputStream | getOutputStream() Obtain the direct output stream for this lock. |
boolean | lock() Try to establish the lock. |
void | unlock() Unlock this file and abort this change. |
void | write(ObjectId id) Write an ObjectId and LF to the temporary file. |
void | write(byte[] content) Write arbitrary data to the temporary file. |