Package jenkins.plugins.git
Interface GitSCMFileSystem.FSFunction<V>
- Type Parameters:
V
- the return type
- Enclosing class:
- GitSCMFileSystem
public static interface GitSCMFileSystem.FSFunction<V>
Simple callback that is used with
GitSCMFileSystem.invoke(jenkins.plugins.git.GitSCMFileSystem.FSFunction)
in order to provide a locked view of the Git repository-
Method Summary
-
Method Details
-
invoke
Called with a lock on the repository in order to perform some operations that might result in changes and necessary re-indexing- Parameters:
repository
- the bare git repository- Returns:
- value to return from
GitSCMFileSystem.invoke(jenkins.plugins.git.GitSCMFileSystem.FSFunction)
- Throws:
IOException
- if there is an I/O errorInterruptedException
- if interrupted
-